Setting locale for individual programs
Dotan Cohen
dotancohen at gmail.com
Tue Jul 11 15:29:16 UTC 2006
On 11/07/06, Lea Gris <lea.gris at noiraude.net> wrote:
> Dotan Cohen a écrit :
> > I send this message to both the Ubuntu and Kubuntu lists as I'm not
> > sure which is more appropriate. I've Ubuntu installed, and added KDE,
> > which I use instead of Gnome.
> >
> > 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.
> For shell environment you should have a bashrc with
> export LANG=C
> or
> export LANG=en
>
> > Kdevelop
> > Eclipse
>
> Either go to properties in the specific menu entry or icons for this
> program and export LANG=whaterver
> or
> Create run scripts for these applications.
Can I create a ~/bin/kate that would call kate with the English LANG
value? Ow would such a script look? I know no bash.
Thank you very much.
Dotan Cohen
http://gmail-com.com
More information about the ubuntu-users
mailing list