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 all text in Discourse 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 ?
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.
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.