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

BUG / FEEDBACK: App Language Set to Value instead of Keeping System Default Inexplicably #4

Open
elibroftw opened this issue Aug 11, 2023 · 3 comments

Comments

@elibroftw
Copy link

Unless explicitly specified, do not set the app language to the value of the system default, just leave it as "System default". It wastes time debugging why the app isn't recognizing the locale and it will mess up users who want to change their language to another one if the user never set a specific language through the app itself.

image

@elibroftw
Copy link
Author

It's okay though, tbh, apps should open the settings app instead of doing it themselves. I'll remove the library. I was using it just for the language detector.

@7ammer
Copy link

7ammer commented May 10, 2024

I would also appreciate this. Being able to set to "System default" would be extremely useful.

@jakex7
Copy link
Owner

jakex7 commented Nov 11, 2024

I'd love to! Actually, this library doesn’t behave that way. Unfortunately, the default behavior of i18next is to call cacheUserLanguage on the language detector (that this library exposes) both at startup and whenever the user selects a different language. There's no way to distinguish between these two events.

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

3 participants