Skip to main content

self_translate

Function self_translate 

Source
pub fn self_translate(
    source: &str,
    source_language: &str,
    target_language: &str,
) -> Result<SelfTranslation, SelfTranslationError>
Expand description

Translates source from source_language to target_language, each one of SELF_TRANSLATION_LANGUAGES or an alias of one.

ยงErrors

A SelfTranslationError for an unknown language or a source its links do not reproduce.