Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7569 - System wide/default $LANG
Summary: System wide/default $LANG
Status: RESOLVED DUPLICATE of bug 9988
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 30504 30629 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-06 04:32 UTC by Lapo Calamandrei
Modified: 2005-07-17 13:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Calamandrei 2002-09-06 04:32:53 UTC
a central place to define system wide $LANG env should be nice. For example GDM
localize of the user interface from the system $LANG env, so right now there is
no way to change it w/o editing /etc/X11/startDM.sh.
Comment 1 Roman Majer 2002-12-14 05:31:19 UTC
It is not good idea to setup LANG on the system wide rules.. 
Specialy in UNIX multiuser environment... 
Let's users to define the LANG in their home directories 
in .bashrc or .profile or whatever... 
 
Anyway, it's better to have LANG unset for root account, 
'cause some "bad" apps do not like this env to be setuped (as oracle and 
some perl app) 
 
But it is clever to use some ACCEPT_LANGUAGES="en cs de ..."  
variable in make.conf, so emerge will know, what 
locales user wants to install (kde, glibc and others).. 
 
anyway... see the bug #9988 for more discussion... 
 
Roman 
Comment 2 Lapo Calamandrei 2002-12-16 05:36:14 UTC
Every distro has a default lang, some apps (like gdm) needs some sort of system
wide lang to be localized. Regarding *really* big multiuser systems, I believe
they are a very very very small monority, and I don't see the point in not
adding a default env var for it, which can be leave unset for no system wide
$LANG specified.
Regarding apps with parsing problems with non en_US lang, is better to fix them
Comment 3 Roman Majer 2002-12-18 08:50:36 UTC
Hmmm... can argue here... if no LANG or LC_ALL is defined, 
system (glibc) uses default values for it ("C" for posix). If some 
apps cannot work whith this default locale, they 
are broken! 
 
I bet for system account (I mean root) is better 
to have LANG and other locale variables undefined. 
 
I have no idea WHY en_US is the language of choise... :-) 
 
If user wants some locale he can specify it in his env!   
Comment 4 Alain Penders (RETIRED) gentoo-dev 2003-02-02 14:17:40 UTC
I was looking at dealing with LANG when I created the new TCSH startup scripts.  All other distributions out there have pretty sophisticated language support, and it seems to me that Gentoo has some catching up to do.  I didn't include any of the LANG handling in the TCSH scripts though because I don't know too much about how it all works.

Maybe we need to find some people who deal with linux in other languages, and who can help setup a good language support?
Comment 5 SpanKY gentoo-dev 2003-10-06 14:18:48 UTC
*** Bug 30504 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2003-10-07 22:44:19 UTC
*** Bug 30629 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2003-10-08 09:34:26 UTC
*** Bug 30629 has been marked as a duplicate of this bug. ***
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-12 09:59:05 UTC

*** This bug has been marked as a duplicate of 9988 ***