Re: Changing the lang by an application




> 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]