Trait handlebars_fluent::loader::Loader
source · pub trait Loader {
// Required method
fn lookup(
&self,
lang: &LanguageIdentifier,
text_id: &str,
args: Option<&HashMap<&str, FluentValue<'_>>>
) -> String;
}
Expand description
Something capable of looking up Fluent keys given a language.
Use SimpleLoader if you just need the basics