# Enabling only certain "language interface preference" & other locale questions

**URL:** https://meta.discourse.org/t/enabling-only-certain-language-interface-preference-other-locale-questions/173140
**Category:** Support
**Created:** [December 13, 2020, 9:27am UTC](https://meta.discourse.org/t/enabling-only-certain-language-interface-preference-other-locale-questions/173140 "2020-12-13T09:27:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anon20593648](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@anon20593648](https://meta.discourse.org/u/anon20593648)
#### Post date: [December 13, 2020, 9:27am UTC](https://meta.discourse.org/t/enabling-only-certain-language-interface-preference-other-locale-questions/173140/1 "2020-12-13T09:27:55Z")

</div>

Hi, I am preparing a community that will need user interface in English & 2 additional non-core languages/locales.

(Just an aside, we will need to do our own translations without CrowdIn. The language is not really appropriate for core for a variety of reasons, at least not at this time – it’s typically only spoken, so the written forms are very nonstandard.)

I would like to keep the “Allow users to choose their own language interface preference” available, so that users can switch between these 3 languages/locales, but not all of the other languages that are not useful for this community. We will likely have many older & non-tech savvy users, so presenting fewer options is important. I haven’t seen any posts describing, or been able to figure out myself exactly what I need to edit to remove all of the other language options from the list. Could anyone explain that?

Also, could anyone confirm if the “correct” way to achieve custom languages is through a locale plugin as described [here](https://meta.discourse.org/t/add-a-new-locale-from-plugin/78962)? I assume I can do both languages / locales in a single plugin?

And last question - I need to disable the markdown rule which converts 2 hyphens to an emdash, could anyone point me in the right direction for that?

Thanks

* * *

Edit/update:

I believe I found the solution to the first problem [here](https://meta.discourse.org/t/multilingual-plugin/142740).

The second problem (locale plugin) seems to work, but I had quite some trouble figuring out how to make it reload on my local development server - ultimately found out that deleting the `tmp` folder every time I want to see changes does work. Not sure how this works in production? I will definitely need to frequently update the translation strings as we build them.

No apparent solution to the final issue yet, and that’s very important for me as “double hyphen” is an orthographic feature of the language.

---

<div class="post-metadata">

### Author: ![anon20593648](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@anon20593648](https://meta.discourse.org/u/anon20593648)
#### Post date: [December 14, 2020, 2:08pm UTC](https://meta.discourse.org/t/enabling-only-certain-language-interface-preference-other-locale-questions/173140/2 "2020-12-14T14:08:19Z")

</div>

I just found out about the “typographer” option already in site settings - so disabling that works. Although unfortunately I lose all the other niceties. It would be great if it were possible to _only_ disable the `--` \> `en-dash` rule, but I assume that’s not too easy after looking through the relevant `markdown-it` code.
