On Thu, Jun 16, 2011 at 9:00 AM, Paul Hartman
<paul.hartman+gen...@gmail.com> wrote:
> On Thu, Jun 16, 2011 at 10:45 AM, Mark Knecht <markkne...@gmail.com> wrote:
>> Is there a simple explanation concerning the difference between the
>> two locales I have seen on Gentoo machines?
>>
>> 1) /etc/locale, as specified in the installation documents
>>
>> 2) /etc/env.d/02locale as has been discussed on the list recently
>
> I'm not near a Gentoo machine right now, but off the top of my head IIRC:
>
> /etc/locale.gen contains a list of locales to be compiled when glibc
> is emerged. These will be available to be used.
>
> /etc/env.d/02locale specifies which of those locales you actually want
> to use for the system-wide default (the LC variables)

Thanks for the response Paul.

Does that mean that the /etc/locale.gen is used only by glibc and not
really by the system? If so, what is glibc doing with these beyond
letting me system run programs?

If 02locale specifies what the system is using, then should it be
02locale that's in the install documents vs off in an optional Gentoo
Localization guide?

Note that the /etc/locale.gen stuff is marked optional in the guide so
presumably it isn't actually needed. All I've determined about it is
that it reduces the amount of time emerge spends buildingglibc/gcc.

Thanks,
Mark

Reply via email to