# Choose language during registration or login

**URL:** https://meta.discourse.org/t/choose-language-during-registration-or-login/162022
**Category:** Self-hosting
**Created:** [August 25, 2020, 2:24pm UTC](https://meta.discourse.org/t/choose-language-during-registration-or-login/162022 "2020-08-25T14:24:33Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [August 25, 2020, 6:12pm UTC](https://meta.discourse.org/t/choose-language-during-registration-or-login/162022/2 "2020-08-25T18:12:13Z")

</div>

> [@roemer](#):
>
> We want our users to choose their language when they first register for the community or also if they log in. How do the settings need to be adapted?

If you enable the `allow user locale` and `set locale from accept language header` Discourse settings (both are found near the top of the “Basic Setup” settings) users will have their language automatically set to the locale that is set on their web browser when they first register on the site. For many cases this would work to set the proper language for a user.

Discourse doesn’t have an option to allow users to _manually_ select their language when they register their account. I can see how this would be a useful feature for some sites though.

As long as the `allow user locale` site setting is enabled, users can change their locale after signing up for the site. This is done from the Interface section of the user’s preferences page:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/e/9e04816fbd029fbba21fb3d20ef0a24757214dda.png)

There are some existing discussions on Meta about multi-lingual sites. There are a few ideas in this topic that could be helpful: [Structuring a multilingual community](https://meta.discourse.org/t/how-to-structure-a-multilingual-community/73225).

---

_[View the full topic](https://meta.discourse.org/t/choose-language-during-registration-or-login/162022)._
