# Custom content localization

**URL:** https://meta.discourse.org/t/custom-content-localization/48416
**Category:** Feature
**Tags:** content-localization
**Created:** [August 9, 2016, 8:17pm UTC](https://meta.discourse.org/t/custom-content-localization/48416 "2016-08-09T20:17:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![foloex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/foloex/32/63141_2.png) [@foloex](https://meta.discourse.org/u/foloex)
#### Post date: [August 9, 2016, 8:17pm UTC](https://meta.discourse.org/t/custom-content-localization/48416/1 "2016-08-09T20:17:14Z")

</div>

Hello Discourse,

I’m trying to create a multi-languages forum based on Discourse. I’m trying to localize the custom content for the main languages that the forum will handle (english and french at first). I cannot figure out how to make the translation for all the custom content such as badge’s name, short and long descriptions, categories’ name and descriptions, tags …

I saw the topic [Customize text in Discourse](https://meta.discourse.org/t/customize-all-text-in-discourse/36092) but was deceived by it’s claim “ **customize all text** ”. I’m aware of /admin/customize/site\_texts but it doesn’t seem to handle custom content.

Is there a way to do that in Discourse ? Without hacking the forum and loosing everything at the next update ?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [August 9, 2016, 8:44pm UTC](https://meta.discourse.org/t/custom-content-localization/48416/2 "2016-08-09T20:44:39Z")

</div>

That’s not possible at the moment. I’m recategorizing as feature request.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 9, 2016, 10:20pm UTC](https://meta.discourse.org/t/custom-content-localization/48416/3 "2016-08-09T22:20:26Z")

</div>

Our suggestion is that you localize by category, e.g. have a Russian, French, etc category.

There is a plugin by @simon which sets the locale based on category that I really want to pull in and make a standard plugin that we support everywhere – we also have customers that need this.

Any news on this @erlend_sh?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [August 9, 2016, 10:25pm UTC](https://meta.discourse.org/t/custom-content-localization/48416/4 "2016-08-09T22:25:36Z")

</div>

But this plugin doesn’t solve the problem of @foloex, does it?

> [@foloex](#):
>
> I cannot figure out how to make the translation for all the **custom content** such as **badge** ’s name, short and long descriptions, **categories** ’ name and descriptions, **tags** …

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 9, 2016, 10:28pm UTC](https://meta.discourse.org/t/custom-content-localization/48416/5 "2016-08-09T22:28:28Z")

</div>

The only “solution” for that is to run completely independent Discourse sites for each language at:

`en.discuss.example.com`  
`fr.discuss.example.com`  
`sp.discuss.example.com`

etc.

---

<div class="post-metadata">

### Author: ![foloex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/foloex/32/63141_2.png) [@foloex](https://meta.discourse.org/u/foloex)
#### Post date: [August 10, 2016, 8:22am UTC](https://meta.discourse.org/t/custom-content-localization/48416/6 "2016-08-10T08:22:32Z")

</div>

The idea is to have the french and the english speaking talking to each other. if I separate my community I lose all the idea of making this forum.

However, while messing with a dummy badge (called “dummy”) I noticed that if I put `${}` variables into the short and the long it of course fails but in a interesting way:  
`translation missing: fr.badges.dummy.long_description`

So I’m just missing a way to create those string as the system is already looking for them. That doesn’t seem to apply to the badge’s name but if I can translate the short and long description that a good start 🙂 From what I understand `/admin/customize/site_texts` is just missing a form where to define new translations.
