How to change language of all users?

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 :slight_smile:

Thanks!

1 Like

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

than you cank see the setting of default language

maybe this will help you :grinning:

1 Like

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 :slight_smile:

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

There could be some hints in Administrative Bulk Operations

2 Likes

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.