Skip to content

Nylo localization RTL issue occurred when we select Arabic or other RTL language #109

Answered by agordn52
yagnik1121 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @yagnik1121,

You can change the behavior by modifying the bootstrap/app.dart file.

Go to the build method and update the locale argument like in the below example.

...
builder: (context, Locale locale, _) => MaterialApp(
              navigatorKey: navigatorKey,
              locale: NyLocalization.instance.locale, // Change `locale` to use `NyLocalization.instance.locale`

Hope that helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@agordn52
Comment options

Answer selected by agordn52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants