
21.4.3 Settings for Language Support
Files in the category Messages are, as a rule, only stored in the corresponding language
directory (like
en
) to have a fallback. If you set
LANG
to
en_US
and the message file
in
/usr/share/locale/en_US/LC_MESSAGES
does not exist, it falls back to
/usr/share/locale/en/LC_MESSAGES
.
A fallback chain can also be defined, for example, for Breton to French or for Galician
to Spanish to Portuguese:
LANGUAGE="br_FR:fr_FR"
LANGUAGE="gl_ES:es_ES:pt_PT"
If desired, use the Norwegian variants Nynorsk and Bokmål instead (with additional
fallback to
no
):
LANG="nn_NO"
LANGUAGE="nn_NO:nb_NO:no"
or
LANG="nb_NO"
LANGUAGE="nb_NO:nn_NO:no"
Note that in Norwegian,
LC_TIME
is also treated differently.
One problem that can arise is a separator used to delimit groups of digits not being
recognized properly. This occurs if
LANG
is set to only a two-letter language code like
de
, but the definition file glibc uses is located in
/usr/share/lib/de_DE/LC
_NUMERIC
. Thus
LC_NUMERIC
must be set to
de_DE
to make the separator definition
visible to the system.
21.4.4 For More Information
• The GNU C Library Reference Manual, Chapter “Locales and Internationalization”.
It is included in
glibc-info
.
418
Installation and Administration
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......