Marc Espie:
> g_setenv ("LANGUAGE", language, TRUE);
> setlocale (LC_ALL, "");
>From the gettext manual:
Note: The variable LANGUAGE is ignored if the locale is set to 'C'. In
other words, you have to first enable localization, by setting LANG (or
LC_ALL) to a value other than 'C', before you can use a language
priority list through the LANGUAGE variable.
> Also note that the value is bogus for us anyway: fr means nothing, we need
> fr_FR to set the language to french here.
No, gimp installs the French message catalogs under
share/locale/fr/LC_MESSAGES and "fr" is definitely enough.
Compare:
$ LC_ALL=fr gtar --help
> I have zero idea whether this is an old feature of gettext that got removed
> recently, or if we deactivated it for whatever reasons, but here we are:
> the gimp language preference feature is broken.
Our devel/gettext port doesn't have any semantic changes.
--
Christian "naddy" Weisgerber [email protected]