On Sun, Jul 15, 2012 at 1:12 PM, Alex Schuster <[email protected]> wrote: > Mark Knecht writes: <SNIP> >> Just double checking here. Is the file /etc/locale.gen now totally >> depreciated or is it still required? The install guide still has it in >> chapter 8 where the file /etc/locale.gen ends up looking pretty much >> identical to the 02locale file. >> >> Or maybe they serve different purposes somehow? > > /etc/locale.gen defines which locales are supported on your system. > > /etc/env.d/02locale defines which of these locale you are actually using > by setting LANG and LC_* environment variables. Files in /etc/env.d/ end > up in /etc/profile.env (by running the env-update command), which is > evaluated from /etc/profile and as such by every shell. If you want > different settings for your user, override that stuff in your > ~/.bash_profile. > > Wonko >
So to check my understanding of your answer (and thanks for the answer!) unless a locale is defined in /etc/locale.gen, and then locale-gen has also been run, then that locale is not even available to be evaluated by /etc/profile. Thanks, Mark

