Replies: 3 comments
|
isLanguageInstalled is checking for KEY_FEATURE_NOT_INSTALLED: isLanguageAvailable is checking or isLanguageAvailable: |
0 replies
|
From what I read in this documentation you mentioned, if language isn't installed, running setLanguage would trigger the download, correct? |
0 replies
|
Can I use this: How could I start a process to download automatically all languages that are not yet downloaded? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I created an app for children that supports many languages, and the user can switch to another language to learn it.
In all android devices I tested in Brazil, it had from default support for spanish, portuguese (Brazil and Portugal), English (American and British).
I added a verification if the language is not available, it should appear an icon next to the flag of the language. But when a friend of mine tested, it didn't show the icon, meaning that the isLanguageAvailable returned true, even if didn't have the language, but the TTS didn't work for that language. After explicitly downloading it it worked. Should I use isLanguageInstalled instead?
All reactions