google-translator
google-translator copied to clipboard
Many languages don't translate
Exception has occurred. _AssertionError ('package:translator/src/google_translator.dart': Failed assertion: line 25 pos 14: 'Languages.isSupported(language)': /E: Error -> Not a supported language: 'zh_Hant')
Happens to several languages.
Anyway, great Job!
MAy be you can fix it. Thanks a lot
@tunopendientes Where did you get the language codes? It might not be supported by Google Translate.
@tunopendientes The error you received states 'zh_Hant' is not supported.
Here is the link to Google's Language Codes for your reference. Below are the two supported codes you can possibly use.
- 'zh_CN'
- 'zh_TW'