[−][src]Function translate_core::translate
pub fn translate<T, Q>(tr: T, text: String, _in: Langage, _out: Langage, end: Q) where
T: Send + 'static + ETranslate,
Q: Send + 'static + FnOnce(Option<String>),
This function translate a text from the first langage to the second.
Actually Google and Yandex as the ETranslate trait implemented
You need to pass arguments: (