Marc Anthony Winoto wrote:

> Angus Leeming wrote:
> Uwe,
> Ther is no equiv. Windows environment variable. You cannot enter
> 'LANG=fr_FR' anywhere. Though maybe if you run the Cygwin version
> you can.
> 
> Assuming you run the native Win32 version, the Windows equiv is to
> set your "Language and Regional Options" to French. I think just the
> Langauge settings under the "Advanced" tab will do. I haven't tried
> this though, since you need to reboot.
> 
> Alternatively, if someone has it running in french already, perhaps
> they can email Uwe their .ui file. I presume that running LyX in
> French will generate a French version of default.ui. But then you
> still have to select the .ui to use every time you want to run LyX
> in French.

Nope, that won't work. The translations are already there in the Win32 
equivalent location of /usr/local/share/locale/fr/LC_MESSAGES/lyx.gmo 
All strings that lyx is asked to display are filtered at run time 
through a translator mechanism called gettext. Setting the LANG 
environment variable causes lyx to look for the translated string in 
the fr/LC_MESSAGES/lyx.gmo file. If it finds it, then that is what is 
displayed. If not, then you get English.

-- 
Angus

Reply via email to