1 |
On Sun, Jul 15, 2012 at 1:12 PM, Alex Schuster <wonko@×××××××××.org> wrote: |
2 |
> Mark Knecht writes: |
3 |
<SNIP> |
4 |
>> Just double checking here. Is the file /etc/locale.gen now totally |
5 |
>> depreciated or is it still required? The install guide still has it in |
6 |
>> chapter 8 where the file /etc/locale.gen ends up looking pretty much |
7 |
>> identical to the 02locale file. |
8 |
>> |
9 |
>> Or maybe they serve different purposes somehow? |
10 |
> |
11 |
> /etc/locale.gen defines which locales are supported on your system. |
12 |
> |
13 |
> /etc/env.d/02locale defines which of these locale you are actually using |
14 |
> by setting LANG and LC_* environment variables. Files in /etc/env.d/ end |
15 |
> up in /etc/profile.env (by running the env-update command), which is |
16 |
> evaluated from /etc/profile and as such by every shell. If you want |
17 |
> different settings for your user, override that stuff in your |
18 |
> ~/.bash_profile. |
19 |
> |
20 |
> Wonko |
21 |
> |
22 |
|
23 |
So to check my understanding of your answer (and thanks for the |
24 |
answer!) unless a locale is defined in /etc/locale.gen, and then |
25 |
locale-gen has also been run, then that locale is not even available |
26 |
to be evaluated by /etc/profile. |
27 |
|
28 |
Thanks, |
29 |
Mark |