Table of Contents
Plugin that implements MLKit Translation and Language Identification features.
GitHub Source Code: https://github.com/rigelglen/cordova-plugin-mlkit-translate
Requires Cordova plugin:
cordova-plugin-mlkit-translate
Supported Platforms #
- Android
- iOS
Usage #
this.mlkitTranslate.translate('Hello', 'en', 'es')
.then((resultText: string) => console.log(res))
.catch((error: string) => console.error(error));
@interfaces
LanguageModel