Scroll to navigation

LOCALEHELPER(1) LOCALEHELPER(1)

NAME

localehelper - generate locales and set internationalization environment variables

SYNOPSIS

localehelper [-x locale[,locale...]] [intvar=locale[,locale-fallback...]]... [--] commandline

localehelper {-h | --help}

DESCRIPTION

1. Set each internationalization environment variable to locale (possibly falling back to locale-fallback).
2. Unset all other internationalization environment variables.
3. If needed, generate missing locales (in a temporary location).
4. Run the specified command.

OPTIONS

Make sure these locales are available, even when they are not used in any internationalization environment variable.
Display help and exit.

ENVIRONMENT

The following environment variables can be set or unset by localehelper:

fall-back for LC_* variables
affects regular expression matching and string collation.
affects regular expression matching, character classification, conversion, case-sensitive comparison, and wide character functions
affects natural-language messages
affects monetary formatting
affects number formatting
affects time and date formatting
may affect other linguistic and cultural aspects
overrides all LC_*
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:

message catalogue path for catopen(3)
message catalogue domain for gettext(1)
message catalogue directory for gettext(1)

EXAMPLES

 $ localehelper LANG=es_ES.UTF-8 locale mon | xargs -n1 -d ';'
 enero
 febrero
 marzo
 abril
 mayo
 junio
 julio
 agosto
 septiembre
 octubre
 noviembre
 diciembre

SEE ALSO

2023-11-17 localehelper 0.1.4