LOCALEHELPER(1)
β¨ LOCALEHELPER β¨
okay so bestie, quick vibe check: this is localehelper, a manual page for the localehelper(1) command π
πΈ NAME πΈ
localehelper β generate locales and set internationalization environment variables π¦
β¨ SYNOPSIS β¨
localehelper [-x locale[,locale...]] [intvar=locale[,locale-fallback...]]... [--] commandline
localehelper {-h | --help}
like literally that's the whole shape of it π«Ά
π DESCRIPTION π
here's the tea, it does these four things, in this order, no skipping:
- Set each internationalization environment variable to locale (possibly falling back to locale-fallback).
- Unset all other internationalization environment variables.
- If needed, generate missing locales (in a temporary location).
- Run the specified command.
step 3 is the main character moment fr fr, it's the whole reason this exists π
π OPTIONS π
-x locale[,locale...]β Make sure these locales are available, even when they are not used in any internationalization environment variable. like, you're manifesting them into existence whether or not anyone's using them β¨-h,--helpβ Show help message and exit. bye bestie π
π¦ ENVIRONMENT π¦
The following environment variables can be set or unset by localehelper:
LANGβ fall-back forLC_*variablesLC_COLLATEβ affects regular expression matching and string collation.LC_CTYPEβ affects regular expression matching, character classification, conversion, case-sensitive comparison, and wide character functionsLC_MESSAGESβ affects natural-language messagesLC_MONETARYβ affects monetary formattingLC_NUMERICβ affects number formattingLC_TIMEβ affects time and date formatting- other
LC_*β may affect other linguistic and cultural aspects LC_ALLβ overrides allLC_*LANGUAGEβ affects natural-language messages
π the ones it leaves alone π
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 forcatopen(3)TEXTDOMAINβ message catalogue domain forgettext(1)TEXTDOMAINDIRβ message catalogue directory forgettext(1)
π«Ά important: untouched. this tool is not coming for them. hands off. periodt.
π EXAMPLES π
here's the flex, watch this:
$ localehelper LANG=es_ES.UTF-8 locale mon | xargs -n1 -d ';'
enero
febrero
marzo
abril
mayo
junio
julio
agosto
septiembre
octubre
noviembre
diciembre
not me emotionally attached to diciembre π twelve months, all correct, slay π
π SEE ALSO π
locale(7)- POSIX:2004
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html#tag_08_02 - GNU gettext manual
https://www.gnu.org/software/gettext/manual/html_node/Setting-the-POSIX-Locale.html
and that's the whole page bestie, ily π§ this was localehelper version 0.1.7, dated 2026-01-21 β go set some locales, you've got this πβ¨π
π¦ where this page comes from
- ubuntu resolute: localehelper 0.1.7-2 Β· MIT
- ubuntu stonking: localehelper 0.1.7-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms