pub type Translator = Arc<dyn Fn(&str) -> Option<String> + Send + Sync>;Expand description
Resolves a translation key against the active catalogue. Returns None
when the catalogue has no entry for the key, so callers can apply their
own fallback.
Aliased Typeยง
pub struct Translator { /* private fields */ }