Expand description
Tools for languages and language detection
Modules§
- translate
- Translation for multiple languages
Enums§
- Language
- A language supported by mcvm. Includes all languages in Minecraft.
Functions§
- canonicalize_
locale - Canonicalize a language tag
- extract_
locale_ first_ part - Extract the first part, the language, from the language tag. Should be canonicalized first to use an underscore
- extract_
locale_ language - Extract a
Language
value from a locale. Not all locales and languages are supported - strip_
locale - Strip extensions and other stuff from an IETF language tag