Expand description
Tinymist’s localization library.
Macros§
- Returns an error with a translated message.
- Tries to translate a string to the current language.
Enums§
- An argument for a translation.
Traits§
- Converts an object to an argument of debug message.
Functions§
- Deserializes a TOML string into a map of translations.
- Loads a TOML string into a map of translations.
- Writes a map of translations to a TOML string.
- Sets the current locale.
- Sets the current translations. It can only be called once.
- Tries to translate a string to the current language.
- Tries to translate a string to the current language.
- Updates disk translations with new key-value pairs.
- Updates a map of translations with new key-value pairs.
Type Aliases§
- A map of translations.
- A set of translation maps.