Skip to content
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

How to use locale from system settings (Android) #112

Open
blukis opened this issue Apr 22, 2020 · 1 comment
Open

How to use locale from system settings (Android) #112

blukis opened this issue Apr 22, 2020 · 1 comment

Comments

@blukis
Copy link

blukis commented Apr 22, 2020

I can't seem to get this plugin to use the locale set from Android system settings. I tried these:

  • Not providing a locale in options argument
  • Locale value "*" in options argument
  • Locale value "-" in options argument

All of these either fail, or use "en-US" instead of the system setting. Is there anyway to use the system's locale?

@dariosalvi78
Copy link

dariosalvi78 commented Jun 26, 2020

navigator.language should give you the locale set for the browser, which I would guess is the same used for the OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants