From 68043dbb60281c280e972cbc89710612865c6271 Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Thu, 14 Jul 2005 15:40:33 +0000 Subject: [PATCH] Fix documentation of $LANG and friends git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10186 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/ChangeLog | 4 ++++ lib/doc/Customization.lyx | 39 ++++++++++++++++++++++++++++++++------- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/lib/doc/ChangeLog b/lib/doc/ChangeLog index 82bfb74e14..88d8f217ae 100644 --- a/lib/doc/ChangeLog +++ b/lib/doc/ChangeLog @@ -1,3 +1,7 @@ +2005-07-14 Martin Vermeer + + * Customization.lyx: Improve description of use of $LANG and friends + 2005-06-07 Kevin Pfeiffer * UserGuide.lyx: Noun-verb agreement: diff --git a/lib/doc/Customization.lyx b/lib/doc/Customization.lyx index 0e0397673f..6d7d7f6a50 100644 --- a/lib/doc/Customization.lyx +++ b/lib/doc/Customization.lyx @@ -2586,7 +2586,8 @@ Notice that these translations will work, but do contain a few flaws. Selecting an alternative language for the user interface \layout Standard -This feature is disabled by default, meaning that the text will be English. +This feature is disabled by default, meaning that system default language + will be used. To enable an alternative language, you have to set an appropriate environment variable. Use @@ -2610,24 +2611,48 @@ for sh class shells \family typewriter xx \family default - with the two letter code for the language you want. + with the two letter code (or four letter code, like +\family typewriter +en_GB +\family default + for British English) for the language you want. For instance, \family typewriter no \family default is Norwegian. + Besides the user interface texts being translated, also the appropriate + manuals will be presented under the Help menu -- if available. \layout Standard -Normally, you'll want to put the appropriate line in +On some systems, you may have to redefine +\family typewriter +LANGUAGE +\family default +, \family typewriter -~/.Xsession +LC_ALL \family default or \family typewriter -~/.xinitrc +LC_MESSAGES \family default - so that the translation is on by default. - Remember that if LyX is configured and compiled with + instead of +\family typewriter +LANG +\family default +, to override the system settings; their preference is in this order. + Consult your system documentation. + Normally, you'll want to put the appropriate line in a shell script run + on start-up, so that the translation is on by default. + Remember that this affects +\emph on +all +\emph default + localized packages! +\layout Standard + +If LyX is configured and compiled with \begin_inset Quotes eld \end_inset -- 2.39.2