On Sun, 15 Jul 2012 13:36:29 -0700, Mark Knecht wrote:

> > /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.

> 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.

The default, if you have not edited /etc/locale.gen, is to install all
locales. They are built when glibc is emerged, so they will all be
available if you do nothing. /etc/locale.gen enables you to configure
which locales are built, local-gen enables you to apply the new setting
without recompiling glibc.


-- 
Neil Bothwick

A good pun is its own reword.

Attachment: signature.asc
Description: PGP signature

Reply via email to