Module prelude

Source

Macros§

lang
langid
t
Translate message from key, panic! if id not found…
te
Translate message from key, returning crate::prelude::DioxusI18nError if id not found…
tid
Translate message from key, return id if no translation found…

Structs§

I18n
I18nConfig
The configuration for I18n.
LanguageIdentifier
LanguageIdentifier is a core struct representing a Unicode Language Identifier.
Locale
Locale is a “place-holder” around what will eventually be a fluent::FluentBundle

Enums§

DioxusI18nError
LocaleResource
A LocaleResource can be static text, or a filesystem file.

Functions§

use_init_i18n
Initialize the i18n provider.