mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 12:25:53 +01:00
doc: explain how to compile with language support
Now that the setup in configure.ac have been cleaned, moved the original documentation from the 'INSTALL-WMAKER' file into the dedicated doc 'README.i18n' and updated it. The information is completely removed from 'INSTALL-WMAKER' with an invitation to see the new i18n doc in order to keep that file relatively small and to avoid duplicating information, which is always harder to maintain. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
b944a4beb2
commit
bd49dbc2f5
@@ -381,38 +381,8 @@ visible in the console or in the .xsession-errors file.
|
||||
LOCALES/INTERNATIONALIZATION
|
||||
============================
|
||||
|
||||
Window Maker has national language support. To enable national language
|
||||
support, you must compile Window Maker with some additional parameters.
|
||||
|
||||
|
||||
0 - You must have the GNU gettext package installed. It can be
|
||||
obtained at ftp://prep.ai.mit.edu/pub/gnu/gettext-nnn.tar.gz
|
||||
|
||||
Steps 1 to 3 can be skipped if you use the Install script.
|
||||
|
||||
1 - You have to select the languages you want to support. Set the
|
||||
LINGUAS to the list of locales you want. English is always
|
||||
supported. Example:
|
||||
|
||||
setenv LINGUAS "pt ja de"
|
||||
in csh
|
||||
|
||||
or
|
||||
|
||||
export LINGUAS;LINGUAS="pt ja de"
|
||||
in sh
|
||||
|
||||
The list of supported locales can be found in po/README.
|
||||
English is the default language.
|
||||
|
||||
Read po/README if you wish to translate and maintain locale files
|
||||
for other languages.
|
||||
|
||||
2 - Additionally, if your language uses multi-byte characters, such
|
||||
as Japanese or Korean, you must set the MultiByteText option to YES
|
||||
in ~/GNUstep/Defaults/WMGLOBAL
|
||||
|
||||
3 - Configure, build and install Window Maker normally.
|
||||
Window Maker has national language support. The procedure to enable national
|
||||
language support is described in the dedicated README.i18n file.
|
||||
|
||||
4 - To select a particular locale at run-time you must set the LANG
|
||||
environment variable to the locale you want. For example, if you want to set
|
||||
|
||||
Reference in New Issue
Block a user