-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local always "en" (Android/iOS) #1189
Comments
Thank you for the quick response. I'm a bit confused. This is not about adding the correct resources, Do the changes suggested in the other ticket, not just influence, which kind of resources are added? Or do they also change, which value Local.getDefault can return? |
I want to confirm this. When I change my phone's default settings as if I am a non-english speaker from another country, I still get the same en default reply. In order for me to internationalize my app, I will have to ask the User again in my app's own Settings what i18n value do they prefer the app operates in among its available resource files. It would be better if we could use what the User has already set at the phone's OS level instead of our app asking them again. |
Any news about this? |
There is a new issue in GraalVM about this topic: oracle/graal#8295, proposing a possible solution and a roadmap. |
I've just noticed, that the language detection no longer works.
I'm quite sure it worked before GraalVM was used.
When I call
Locale.getDefault
i always get back the locale "en", even if I set my device to German.This happens on Android and iOS.
Is this a known issue?
Is there another way to get the locale of the device?
("com.gluonhq:gluonfx-gradle-plugin:1.0.16" was used)
The text was updated successfully, but these errors were encountered: