# How to change language of all users?

**URL:** https://meta.discourse.org/t/how-to-change-language-of-all-users/268842
**Category:** Support
**Tags:** localization
**Created:** [June 19, 2023, 1:39am UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842 "2023-06-19T01:39:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [June 19, 2023, 1:39am UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842/1 "2023-06-19T01:39:45Z")

</div>

We used a custom\_language (created from a plugin) and now I moved the overrides to default ‘es’ but I see that users stills with the old option selected and I want to clean this.

How can I switch all the users language from Rails? I hope you can help me with this 🙂

Thanks!

---

<div class="post-metadata">

### Author: ![whitewaterdeu](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@whitewaterdeu](https://meta.discourse.org/u/whitewaterdeu)
#### Post date: [June 19, 2023, 3:28am UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842/2 "2023-06-19T03:28:09Z")

</div>

hello!  
you can visit `https://yoursite.com/admin/site_settings/category/required`

than you cank see the setting of default language

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/a/3/4a3ce2f941ad7b01b441b54a7e3f5cb1825a7f27.png)

maybe this will help you 😀

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [June 19, 2023, 3:40am UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842/3 "2023-06-19T03:40:33Z")

</div>

Hey, thanks for your answer! I did it already but it seems that some users didn’t get their language fields updated.

Maybe there is some job to work on that or a manual way to update this specific workflow 🙂

---

<div class="post-metadata">

### Author: ![whitewaterdeu](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@whitewaterdeu](https://meta.discourse.org/u/whitewaterdeu)
#### Post date: [June 19, 2023, 3:46am UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842/4 "2023-06-19T03:46:42Z")

</div>

i think it will be useful to clear the cache in user browser

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 19, 2023, 7:08am UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842/5 "2023-06-19T07:08:57Z")

</div>

There could be some hints in [Administrative Bulk Operations](https://meta.discourse.org/t/administrative-bulk-operations/118349)

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [January 21, 2025, 4:29pm UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842/6 "2025-01-21T16:29:47Z")

</div>

Were you able to resolve your issue?

Do you recall if you had `Allow user locale` enabled, so your users can choose their own language interface via their preferences? I believe if that is disabled, everyone will be forced to use the default locale you specified in the `Default locale` setting.

It occurs to me that the `Default locale` setting should maybe work like the other User Preferences settings. When these settings are changed, you’re prompted with the option to apply the change historically for all users.

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [January 25, 2025, 1:04am UTC](https://meta.discourse.org/t/how-to-change-language-of-all-users/268842/7 "2025-01-25T01:04:48Z")

</div>

Oh, yes. I ended solving this issue exporting and importing the custom language _(ES\_XX)_ as default on _(ES on my case)_.

Thanks for your following up, I forget this thread.
