# Lokalisierung basierend auf Benutzeranmeldedaten

**URL:** https://meta.discourse.org/t/localization-based-on-user-login-details/111246
**Category:** Support
**Created:** [11. März 2019 um 07:02 UTC](https://meta.discourse.org/t/localization-based-on-user-login-details/111246 "2019-03-11T07:02:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Muthukkumar](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Muthukkumar](https://meta.discourse.org/u/Muthukkumar)
#### Post date: [11. März 2019 um 07:02 UTC](https://meta.discourse.org/t/localization-based-on-user-login-details/111246/1 "2019-03-11T07:02:58Z")

</div>

Hi Team,  
I want to know “Can we Localized discourse based on the User Login?”. My request is, from our main portal if we click on forums it will redirect to discourse. Now the Discourse should display based on the user Language from my mail portal.

Example: If the user is selected Japanese in main portal he/she should get the Japanese in discourse portal as well. And for other user select Chinese then he/she should get the Chinese in discourse as well. Could some one tell me whether we can active this or not.

Hope I have explained clearly if not clear or need some more information please post here.  
Many thanks in advance…

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [11. März 2019 um 15:30 UTC](https://meta.discourse.org/t/localization-based-on-user-login-details/111246/2 "2019-03-11T15:30:06Z")

</div>

If you enable the settings `set locale from accept language header` and `allow user locale` you might not need to do this? It would detect the locale from the browser’s settings.

Are you using SSO for your forum logins? You’d be able to use the API to configure the language that way.

---

<div class="post-metadata">

### Author: ![Muthukkumar](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Muthukkumar](https://meta.discourse.org/u/Muthukkumar)
#### Post date: [12. März 2019 um 09:27 UTC](https://meta.discourse.org/t/localization-based-on-user-login-details/111246/3 "2019-03-12T09:27:52Z")

</div>

Thanks a lot for the response, Yes I have changed the setting and its working fine. And yes we are using the SSO login so I am creating a API, for that I am looking some guidance.

---

<div class="post-metadata">

### Author: ![Muthukkumar](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Muthukkumar](https://meta.discourse.org/u/Muthukkumar)
#### Post date: [10. April 2019 um 12:53 UTC](https://meta.discourse.org/t/localization-based-on-user-login-details/111246/4 "2019-04-10T12:53:57Z")

</div>

Hey @awesomerobot I need a some more information about the SSO part. When I logged in I can select the user preference to change the preferred language, but I want to know is that possible to make it with API call ?

From SSO I am getting the username, email’s same like I want to configure the user language could you please guide me for this issue.

And one more thing after the changes of set locale from “accept language header” and “allow user locale” in mac chrome its working fine but for windows chrome its not working is that any configuration I have to do for windows chrome.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [3. Juli 2022 um 13:55 UTC](https://meta.discourse.org/t/localization-based-on-user-login-details/111246/5 "2022-07-03T13:55:34Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [27. Oktober 2022 um 20:48 UTC](https://meta.discourse.org/t/localization-based-on-user-login-details/111246/6 "2022-10-27T20:48:04Z")

</div>

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