Closed liaostr closed 6 months ago
same issue, even simplest of code threw this error...
if(!await MLKitTranslator.isModelDownloaded(LANG_TAGS.GERMAN)){
await MLKitTranslator.downloadModel(LANG_TAGS.GERMAN);
}
if(!await MLKitTranslator.isModelDownloaded(LANG_TAGS.ENGLISH)){
await MLKitTranslator.downloadModel(LANG_TAGS.ENGLISH);
}
const _translation = await MLKitTranslator.translateText(text, LANG_TAGS.ENGLISH, LANG_TAGS.GERMAN)
any solution now?
Hey guys, Iām going to check out this issue and update this library to support new arch. Perhaps 1-2 week I guess
new updates is released, check it out , https://github.com/yaaliuzhipeng/fast-mlkit-translate-text
unsupport language