Translator
Definition
Use this component to translate words and sentences between different languages. This component needs Internet access, as it will request translations from a server at MIT (which in turn will request translations from a commercial translation service). Specify the source and target language in the form source-target using two letter language codes. So “en-es” will translate from English to Spanish while “es-ru” will translate from Spanish to Russian. If you leave out the source language, the service will attempt to detect the source language. So providing just “es” will attempt to detect the source language and translate it to Spanish.
Note: Translation happens asynchronously in the background. When the translation is complete, the GotTranslation
event is triggered.
Properties
- ApiKey
- The API Key to use. MIT App Inventor will automatically fill this value in. You should not need to change it.