LitDev Extension API
LDTranslate
Language translation methods.
Languages | Translate |
Languages()
Get an array of language codes and their language.
The array indices are the required language codes for the Translate method.
returns The 1D array of language codes and names.
Translate(input,languageFrom,languageTo)
Translate a text from one language to another.
input The text to translate.
languageFrom The language code to translate from.
languageTo The language code to translate to.
returns The translated text.