Re: Changing the lang by an application
- From: Miguel de Icaza <miguel nuclecu unam mx>
- To: drepper cygnus com
- CC: rhpennin midway uchicago edu, cgabriel tin it, gnome-list gnome org
- Subject: Re: Changing the lang by an application
- Date: Mon, 23 Nov 1998 12:28:18 -0600
> If gettext is used correctly this is not true. If the various widgets
> don't cache the strings but instead retrieve them via gettext every
> time every change of the LANGUAGE, LC_ALL, LC_MESSAGES, or LANG
> variable has the appropriate effect.
Some applications do stuff like:
static int localized;
if (!localized){
for (...){
array [i] = _(array [i]);
}
localized = 1;
}
Should we avoid this construction instead?
miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]