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

Changing system language does not effect #680

Open
neestell opened this issue May 24, 2024 · 2 comments
Open

Changing system language does not effect #680

neestell opened this issue May 24, 2024 · 2 comments

Comments

@neestell
Copy link

Hello!
I have some trubbles with the library and its example.

Steps to reproduce

  1. Run an example of the library on Android device
  2. Change language in Android settings
  3. Return back to the app

Expected: all words translated according a selected language
Actual: Nothing changed

I added peace of code to debug an app state

   localeResolutionCallback: (locale, supported){
        print("Selected locale " + locale.toString());
      } ,

Here is a result
I/flutter (11746): Selected locale en_US <-- selected language
I/flutter (11746): Selected locale ru_RU <-- previous language
As you can see, a selected language was cancelled immediately

Thank you for help

@eastsss
Copy link

eastsss commented Jun 14, 2024

Same problem. App language will change only after app restart

@BelkinVadim
Copy link

How to react correctly to a change of language in the operating system and, if necessary, install the desired language yourself?

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