Setting locale for individual programs
Derek Broughton
news at pointerstop.ca
Tue Jul 11 16:42:54 UTC 2006
Dotan Cohen wrote:
>> > My locale is Hebrew, and I need all my GUI apps to be in Hebrew,
>> > naturally. However, my command-line and development apps I need to be
>> > in English, as the Hebrew support is very poor. The specific apps that
>> > I want in English would be:
>>
>> Language is determined by the environment variable LANG.
>> So set LANG=isocode before launching a program.
>
> That would leave the language as set fro every program launched
> afterwards.
Yes. However (I almost never use LANG, so I could be wrong here, but nobody
else has mentioned these options):
LANG=xxx /path/to/prog
should work - so you can make simple shortcuts that do that, and also (and
much more useful to you) I'm fairly certain that KDE actually uses
KDE_LANG, so you should be able to set that to Hebrew, LANG to C or en and
get exactly what you want.
--
derek
More information about the ubuntu-users
mailing list