Re: Easily switching languages in Linux ?

From: Robert Heller (heller_at_deepsoft.com)
Date: 04/07/05


Date: Thu, 07 Apr 2005 23:01:30 +0200


  "G Dahler" <gd-nntp@spamex.com>,
  In a message on Thu, 7 Apr 2005 15:12:50 -0400, wrote :

"D> For government regulations/administrative reasons we have to be able to run
"D> Linux (All software in fact) in our native language which is NOT english. I
"D> know I can install run linux in my native tongue, but I HATE that (error
"D> messages are cryptic at best, you can't search the internet for a particular
"D> error message in yor native tongue because 99.999% of the planet uses
"D> english, etc...)
"D>
"D> The question is:
"D>
"D> Is there an easy way to run linux in english for the administrator, and when
"D> the powers that be show up, easily change to the native language to stop
"D> them from complaining (and return to english as soon as they turn their
"D> back)
"D>
"D> I have no problem with enforcment of my native language in the applications
"D> that we run and develop, but from a sys admin point of view, I feel a lot
"D> more comfortable with the english language. It's hard enough to keep up with
"D> all the news terms and buzzwords in english, I don't need to manage
"D> translation as well.

In ~root/.bash_login (or ~root/.profile)

Include:

export LANG=en_US (assumes USA English, there are several other
                         en_??'s available, eg British, Canadien, etc. English)

And in /etc/sysconfig/i18n have the line:

LANG=<whatever the native language is>

This way, generic non-priviliged users will see their native language,
but when you su root, you will get English. I think the 'SUPPORTED'
variable needs to includes both your native language setting and the
English setting you want to use as root.

"D>
"D> Thanks
"D>
"D>
"D>

                                     \/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153

                                       



Relevant Pages

  • Easily switching languages in Linux ?
    ... Linux in our native language which is NOT english. ... error message in yor native tongue because 99.999% of the planet uses ...
    (comp.os.linux.misc)
  • Re: Linear A tablet Hagia Triada 95
    ... "Franz Gnaedinger" wrote in message ... >> heritage whose native language is English have no trouble with r and l. ... and so I assumed that the dwellers of Ebla ...
    (sci.archaeology)
  • Re: Linear A tablet Hagia Triada 95
    ... "Franz Gnaedinger" wrote in message ... >> heritage whose native language is English have no trouble with r and l. ... and so I assumed that the dwellers of Ebla ...
    (sci.lang)
  • Re: Latin in the future?
    ... Latin have some useful characteristics that English does not have? ... It's nobody's native language, and thus might be seen not to offer ... for modern technology, but creating some would be easy enough. ...
    (rec.arts.sf.composition)
  • Re: Possible bug in Calendar
    ... Are you sure English is your native language. ... It may seem like nonsense to someone as unfamiliar with the English language as you are, but I assure you, it is not. ... I'm not the one engaging in straw man arguments. ...
    (comp.lang.java.programmer)