You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, I'm facing the issue with updating my app language which includes multiple screens. At the time I change my locale from the parent screen it changes but from the child screen, it didn't work.
In simple terms. Consider I've changed the locale in the homeScreen & moving to a different route from homeScreen to Screen1 via Navigator. of(context).pushNamed(Screen1.routeName).
Then if put the logic in screen2 then the app language does not change.
I've attested the small code which you can clone it to view the issue.
The text was updated successfully, but these errors were encountered:
akshayindia
changed the title
Issue with updating the app language accross the app > Work only in widget tree.
Issue with updating the app language accross the app from the child widget to ancestor widget.
Jun 8, 2022
Hi Team, I'm facing the issue with updating my app language which includes multiple screens. At the time I change my locale from the parent screen it changes but from the child screen, it didn't work.
In simple terms. Consider I've changed the locale in the homeScreen & moving to a different route from homeScreen to Screen1 via Navigator. of(context).pushNamed(Screen1.routeName).
Then if put the logic in screen2 then the app language does not change.
I've attested the small code which you can clone it to view the issue.
The small reproducible code is https://github.com/akshayindia/Flutter-Internalization
The text was updated successfully, but these errors were encountered: