zino_http::i18n

Function translate

Source
pub fn translate(
    locale: &LanguageIdentifier,
    message: &str,
    args: Option<FluentArgs<'_>>,
) -> Result<SharedString, Error>
Available on crate feature i18n only.
Expand description

Translates the localization message.