The globalization API doesn't work on Android
radi-cho opened this issue · 1 comments
radi-cho commented
I translated the app to Bulgarian and Russian (#8). Everything worked in phoneGap on Windows, but when I changed the language of physical phone RSG Chess wasn't able to detect it. There are two main POSSIBLE problems:
- Some of our checks don't work, because the output on Android may be different:
// such as:
let lang = language.value.split(/\s*-\s*/g)[0]
if (_.includes(Object.keys(strings.languages), lang)) {
this.setState({ lang })
}
- The globalization plugin fails.
I'm gonna test the posibble problems and find out what's actually happening.