Module localizer

Source

Structs§

Localizer
An object that localizes strings. It reads localization data from a directory and provides localized strings. If the localization data is not found, it will demangle the key using an algorithm that tries to approximate the intended text

Enums§

LocalizationError
An error that occurs when localizing a string.

Traits§

Localize

Functions§

create_localization_stack 🔒
demangle_generic 🔒
A function that demangles a generic name. It will replace underscores with spaces and capitalize the first letter.

Type Aliases§

LocalizationQuery
A localization query. A function name and a list of arguments.
LocalizationStack
A stack of localization queries.