Re: running a program with a different language than the current locale
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtkmm-list gnome org
- Cc:
- Subject: Re: running a program with a different language than the current locale
- Date: Sat, 5 Nov 2005 14:34:59 +0000
On Friday 04 November 2005 13:53, Jonathon Jongsma wrote:
> On 11/3/05, ZeeGeek <zeegeek gmail com> wrote:
> > may be you can open a terminal and set the variable LANG to portugese
> > and then launch your program in that terminal.
>
> I've tried that, but it doesn't seem to work for me. I've tried the
> following: LANG=pt_BR.UTF-8 appname
> and
> LC_ALL=pt_BR.UTF-8 appname
> as well as both of these combined. It doesn't seem to work unless i
> log out and log in with a portugese GNOME session. Maybe it's not
> possible to run a program in a different locale from the rest of the
> desktop?
Setting LC_ALL should work if you are choosing the correct locale, but have
you tried instead setting the LANGUAGE (not LANG) environmental variable -
see the documentation for GNU gettext? LANGUAGE has the highest priority
(LANG the least, after LC_ALL).
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]