# Disable some user interface language options

**URL:** https://meta.discourse.org/t/disable-some-user-interface-language-options/71727
**Category:** Support
**Created:** [October 10, 2017, 12:14am UTC](https://meta.discourse.org/t/disable-some-user-interface-language-options/71727 "2017-10-10T00:14:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![guictx](https://avatars.discourse-cdn.com/v4/letter/g/77aa72/32.png) [@guictx](https://meta.discourse.org/u/guictx)
#### Post date: [October 10, 2017, 12:14am UTC](https://meta.discourse.org/t/disable-some-user-interface-language-options/71727/1 "2017-10-10T00:14:15Z")

</div>

I would like to disable most of the available languages is the user interface language options (Profile → Interface → Interface language) except English (es), Spanish (es), and French (fr).

Is it possible?

---

<div class="post-metadata">

### Author: ![eatcodetravel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eatcodetravel/32/94385_2.png) [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)
#### Post date: [April 28, 2018, 1:51am UTC](https://meta.discourse.org/t/disable-some-user-interface-language-options/71727/2 "2018-04-28T01:51:15Z")

</div>

I was looking to do this and is not possible using the SiteSettings. I created a plugin to be able to do it.

> [@Available Locales Plugin](https://meta.discourse.org/t/available-locales-plugin/86346):
>
> Repo: [Majal / discourse-available-locales · GitLab](https://gitlab.com/majalorg/discourse-available-locales) This plugin allows you to limit the locales shown in the Interface language dropdown in the User settings. [image] Admin settings available interface locales: List of locales that will be available for users to select. Notes This plugin will be enabled once you enable the allow user locale setting. [image] By default, all languages available in Discourse today (2018-04-27) are enabled.

---

<div class="post-metadata">

### Author: ![frictionel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frictionel/32/299701_2.png) [@frictionel](https://meta.discourse.org/u/frictionel)
#### Post date: [June 13, 2018, 8:47pm UTC](https://meta.discourse.org/t/disable-some-user-interface-language-options/71727/3 "2018-06-13T20:47:40Z")

</div>

That’s a great plug-in but it doesn’t disable the languages at all, right? So we still have to wait ages for all language-files to be build every time we rebuild the app? From my experience this is the most time consuming part (or at least the most useless time spent waiting).

Related topic:  
[https://meta.discourse.org/t/does-rebuild-time-scale-with-forum-size/66556](https://meta.discourse.org/t/does-rebuild-time-scale-with-forum-size/66556)

---

<div class="post-metadata">

### Author: ![eatcodetravel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eatcodetravel/32/94385_2.png) [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)
#### Post date: [June 13, 2018, 9:18pm UTC](https://meta.discourse.org/t/disable-some-user-interface-language-options/71727/4 "2018-06-13T21:18:22Z")

</div>

I’m not sure if languages impact that much in build time, maybe someone from core can confirm this. If this is the case, then we for sure can do improvements in this area, locale files are kinda static so I think we can easy cache them at build time

---

<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: [December 20, 2020, 2:04pm UTC](https://meta.discourse.org/t/disable-some-user-interface-language-options/71727/5 "2020-12-20T14:04:10Z")

</div>



---

<div class="post-metadata">

### Author: ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)
#### Post date: [October 26, 2023, 3:13pm UTC](https://meta.discourse.org/t/disable-some-user-interface-language-options/71727/6 "2023-10-26T15:13:01Z")

</div>

Will this plugin also disable the default option for example if a user is connecting from Middle east with arabic locale would it default them to arabic?
