Function translate_to

Source
pub fn translate_to(
    identifier: impl AsRef<str>,
    language_identifier: impl AsRef<str>,
) -> Option<String>
Expand description

Attempts to translate the identifier into the given language. Returns the same identifier if not available.