# Setting locales using the Flutter SDK

**URL:** <https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [May 11, 2023, 8:16am UTC](https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714 "2023-05-11T08:16:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcin2](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@marcin2](https://community.auth0.com/u/marcin2)\
**Post date:** [May 11, 2023, 8:16am UTC](https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714/1 "2023-05-11T08:16:25Z")

</div>

Hi,

Is there a way of setting the locale-language on the new universal login page from the auth0 Flutter SDK?

From what I’ve noticed, the login page uses the phone’s system language, which is a reasonable default. The app I’m developing, however, allows the user to set a language, irrespective of the system one.

Looking at the signature of the `WebAuthentication.login()` method, I don’t see any parameters that would allow setting the locale-language. Unless I should pass some argument to `Map<String, String> parameters` ?

Cheers,  
Marcin

---

<div class="post-metadata">

**Author:** ![p.friedrich](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/p.friedrich/32/50070_2.png) [@p.friedrich](https://community.auth0.com/u/p.friedrich)\
**Post date:** [February 27, 2024, 9:26am UTC](https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714/3 "2024-02-27T09:26:55Z")

</div>

Have you found a solution? we have the same problem

---

<div class="post-metadata">

**Author:** ![marcin2](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@marcin2](https://community.auth0.com/u/marcin2)\
**Post date:** [February 27, 2024, 12:50pm UTC](https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714/4 "2024-02-27T12:50:17Z")

</div>

Hi,

unfortunately, I haven’t. I’m relying on the out-of-the-box implementation, which is to use the phone’s system locale.

Cheers,  
Marcin

---

<div class="post-metadata">

**Author:** ![kevin.gaulin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kevin.gaulin/32/59760_2.png) [@kevin.gaulin](https://community.auth0.com/u/kevin.gaulin)\
**Post date:** [October 18, 2024, 3:25pm UTC](https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714/5 "2024-10-18T15:25:51Z")

</div>

it’s possible to add a parameter to indicate which locale you want to the universal login

```auto
_auth0
            .webAuthentication(scheme: appScheme)
            .login(
                audience: audience,
                parameters: {
                        'ui_locales': 'en'
                      }
                );

```

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [April 3, 2025, 7:12pm UTC](https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714/6 "2025-04-03T19:12:49Z")

</div>

Hi @marcin2,

Welcome to the Auth0 Community!

The docs should provide useful information on how to localize your app:

> **[Universal Login Internationalization](https://auth0.com/docs/customize/internationalization-and-localization/universal-login-internationalization)**
>
> Describes the languages you can choose to localize your login pages.

If you have any other question feel free to reach out.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 17, 2025, 7:33pm UTC](https://community.auth0.com/t/setting-locales-using-the-flutter-sdk/106714/8 "2025-04-17T19:33:41Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
