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

Language support #499

Open
PandukaBWedisinghe opened this issue May 30, 2024 · 1 comment
Open

Language support #499

PandukaBWedisinghe opened this issue May 30, 2024 · 1 comment

Comments

@PandukaBWedisinghe
Copy link

My flutter app supports few locales and I want to show the login page with the device locale. For instance, if the device language is Arabic, the login view should be in Arabic. How to configure this?

@eeevvaaa
Copy link

eeevvaaa commented Aug 6, 2024

Have you tried passing an additional parameter called ui_locales? You can set it using the device's locale, like this:

additionalParameters: {
    'ui_locales': Platform.localeName,
}

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