Expand description
Locale selection helper.
Translations themselves are handled by rust_i18n from YAML files in locales/ (English default).
This module maps the --lang argument or environment variables to a rust-i18n locale code.
Functions§
- init
- Initialise the locale from the
--langargument (takes priority) or theLC_ALL/LANGenvironment variables. Defaults to English.