Replies: 3 comments
-
isLanguageInstalled is checking for KEY_FEATURE_NOT_INSTALLED: isLanguageAvailable is checking or isLanguageAvailable: |
Beta Was this translation helpful? Give feedback.
-
From what I read in this documentation you mentioned, if language isn't installed, running setLanguage would trigger the download, correct? |
Beta Was this translation helpful? Give feedback.
-
Can I use this:
How could I start a process to download automatically all languages that are not yet downloaded? |
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions