Disable some user interface language options

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?

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

4 Likes

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

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

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?