Skip to main content

try_translate

Function try_translate 

Source
pub fn try_translate(key: &str) -> Option<String>
Expand description

Resolve key against the installed translator, or None when no translator is installed or the catalogue lacks the key.