Expand description
A lightweight internationalization infrastructure for CLI/TUI.
Locale selection follows the POSIX order LC_ALL, then LANG. English and Japanese are
supported; unknown locales safely fall back to English. Fluent FTL resources make it possible
to add languages without branching through the call sites.
Structs§
- Localizer
- Message table used in the execution process.
Enums§
Functions§
- current
- Returns the process-local localizer, initialized from the environment on first use.
- locale_
name_ from - Prefer
LC_ALLtoLANGto choose a non-empty locale name. - localizer_
from - Create a localizer from the specified environment values.