[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232355: base-config: Should set LANG in /etc/environment



Quoting Petter Reinholdtsen (pere@hungry.com):
> [Christian Perrier]
> > For avoiding console problem with non Latin languages, I suggest to ask
> > whether the user wants to set this locale as default for the whole system.
> 
> A question like that is already part of the locales package.  It might
> be enough to use 'dpkg-reconfigure locales' to present the question to
> the user, and make sure the default is fetched from the language
> choice done in d-i.


Well, I like this.

So, the idea would then be calling "dpkg-reconfigure locales" from
base-config and taking care of feeding the locales debconf variables
with appropriate values before this. 

My "ask whether users wants to set as default" then becomes "feeding
the locales/default_environment_locale". We feed this with
debian-installer/locale for Latin languages and with "None" for non
latin languages. 

Thus, with "high" priority, locales will not ask this question (it has
medium priority in the package). Again, we finish for better defaults
on high priority installs....and leave all choices opened to people
using medium priority....





Reply to: