Re: Changing the lang by an application



Havoc Pennington <rhpennin@midway.uchicago.edu> writes:

> > it is possible to change the lang of a gnome app during his execution?
> > 
> 
> Nope, you have to restart. 

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.

In this case the only thing necessary would be to redard every single
visible part of the UI.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]