LOCALEHELPER(1)

πŸ“¦
version 0.1.7 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ 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:

  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.

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 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 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 for catopen(3)
  • TEXTDOMAIN β€” message catalogue domain for gettext(1)
  • TEXTDOMAINDIR β€” message catalogue directory for gettext(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 πŸ’œ


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