Skip to main content

Module localization

Module localization 

Source
Expand description

Localization privitives.

Structs§

FluentArgs
Fluent messages can use arguments in order to programmatically add values to a translated string. For instance, in a localized application you may wish to display a user’s email count. This could be done with the following message.
L10n
A localization primitive that stores localized message data and state.
L10nBundle
L10nClass
A localization class.
L10nCustomStyle
Represents a custom style for the L10n.
L10nFallback
L10nLocale
LanguageIdentifier
LanguageIdentifier is a core struct representing a Unicode Language Identifier.
LocaleMap
A map that stores localizations.

Enums§

FluentValue
The FluentValue enum represents values which can be formatted to a String.
L10nState
An enum for the locatization state updates.

Functions§

l10n
Construct localized label with the message key.