LANG
fall-back for LC_* variables
Generate locales and set internationalization environment variables
localehelper [-x
locale
[,locale ...]]
[intvar=locale
[,locale-fallback ...]] ...
[--]
commandline
localehelper {-h | --help}
-x locale[,locale...]
Make sure these locales are available, even when they are not used in any internationalization environment variable.
-h, --help
Show help message and exit.
The following environment variables can be set or unset by localehelper:
LANG
fall-back for LC_* variables
LC_COLLATE
affects regular expression matching and string collation.
LC_CTYPE
affects regular expression matching, character classification, conversion, case-sensitive comparison, and wide character functions
LC_MESSAGES
affects natural-language messages
LC_MONETARY
affects monetary formatting
LC_NUMERIC
affects number formatting
LC_TIME
affects time and date formatting
other LC_*
may affect other linguistic and cultural aspects
LC_ALL
overrides all LC_*
LANGUAGE
affects natural-language messages
The following environment variables may be used by users to announce specific localization requirements to applications, but are left intact by localehelper:
NLSPATH
message catalogue path for catopen(3)
TEXTDOMAIN
message catalogue domain for gettext(1)
TEXTDOMAINDIR
message catalogue directory for gettext(1)
$ localehelper LANG=es_ES.UTF-8 locale mon | xargs -n1 -d ';'enerofebreromarzoabrilmayojuniojulioagostoseptiembreoctubrenoviembrediciembre
5 releases since Debian 9 (Stretch); the text changed 2 times.