|
Edit Links |
Tips /
SettingLANGPlease categorize this page. << OpenFileInRunningLyx | Page list | Symbols >>How To tell LyX to speak in a different languageThere are many reasons why you might want LyX to speak to you in a language different from the system default:
Set LANGGeorg Baum proposed the following workaround in the lyx-users list and on [1] It seems that setting the LANG environment variable before starting lyx like
LANG=de_DE lyx
is a workaround (normally it is de_DE.utf8 here).
You can even automate this by defining an alias (e.g. in ~/.bashrc, if you use the bourne again shell): alias lyx='LANG=de_DE lyx' I have also alias lyx-en='LANG=en_GB; lyx' to easily start up an English-spoken LyX. Define \default_language in LyX preferencesSometimes, setting the correct LANG enviroment variable is not enough to completely "translate" LyX, at least on Windows. You have also set 'Default language' in 'Preferences --> Language Settings'. Not doing so makes LyX 1.3.7 to use incorrect charset in "grey boxes" such as foot, Ref, etc. For example, setting LANG=ru_RU do make LyX speak russian, but cyrillic text inside "grey boxes" is shown in latin-1 encoding (instead of KOI-8r or Win1251), which is unreadable. Setting the default language to 'russian' fixes the problem... |