On Mon, 14 Jun 2004, Karl Ove Hufthammer wrote: > I guess the reason it's not working is that I already have the > 'LANGUAGE' environment variable set, and Tux Paint doesn't seem to > be able to override it.
Tux Paint manipulates the LANG and LC_ALL environment variables, but the LANGUAGE environment variable overrides both LANG and LC_ALL in GNU Gettext. Here's the priority of the environment variables for GNU Gettext (from `info gettext`): 1. LANGUAGE (highest priority) 2. LC_ALL 3. LC_xxx of the selected locale 4. LANG (lowest priority) According to `man 3 gettext`, LANGUAGE may also be a colon-separated list of locale names, listed in the order of your preference, and GNU Gettext will grab the first match (and I assume if all fails, it falls back to the default language, which happens to be American English for Tux Paint.) Chao! -Mark -- Mark K. Kim AIM: markus kimius Homepage: http://www.cbreak.org/ Xanga: http://www.xanga.com/vindaci Friendster: http://www.friendster.com/user.jsp?id=13046 PGP key fingerprint: 7324 BACA 53AD E504 A76E 5167 6822 94F0 F298 5DCE PGP key available on the homepage _______________________________________________ Tuxpaint-dev mailing list [EMAIL PROTECTED] http://tux4kids.net/mailman/listinfo/tuxpaint-dev
