Multi-Language localization

"There can be only one," might be a good enough for an immortal from the planet Zeist, but it's not always so great when it comes to language support and localization. A single language setting isn't always enough for if you want to localize Muut on your own website, so Muut has multi-language localization support or Native Language Support (NLS) for embedded Muut communities!

If you want to display your community in only one language, check out our super cool Default Language setting!


Language Embedding and Codes

If you haven't embedded Muut into your website yet, take a look at our embedding document for more details on how to do this. You'll need code level access to your website. If you can't edit the HTML of your page, many pages will allow you to "inject" snippets of code into your pages. So, before you do anything, let's stop and take a look at your embed code. It should look a little something like this:

<a class="muut" href="https://muut.com/i/community-name">Your Community Name</a>
<script src="//cdn.muut.com/1/moot.min.js"></script>

Be sure to replace community-name in our example with the community-name  found on your quick embed settings page. That code makes sure it points to your community! The embed <script src="//cdn.muut.com/1/moot.min.js"></script> will load your community in english by default.

But don't worry, when you change your default language we modify your embed code with a custom script to make sure it displays correctly when you use HTML. We're actually using the same technique below! (Check our our neat doc on changing the default language!)

But what if you've got more than one page and you need more than one language? If you wanted to have a second page loclaize to, for example, Chinese, you would instead use <script src="//cdn.muut.com/1/moot.zh.min.js"></script> It's just a jump to the left from moot.min.js into moot.zh.min.js to get Muut in Chinese!

Adding the language shortcodes to the script embed is all it takes to localize your embedded community with Muut. Keep in mind the best practice for localizing your community means using a localized code for each version, including your, "default." So even if your default is English, if you're localizing you should use <script src="//cdn.muut.com/1/moot.en.min.js"></script> for your english page. Below you'll find a list of all the localizations we currently support, and their shortcodes. If you don't see the language you need, don't fret. That list just keeps growing!

(Do you want to contribute? You can contribute your own translation for a language we don't yet support, at Github. https://github.com/muut/language )


Arabic (ar) <script src="//cdn.muut.com/1/moot.ar.min.js"></script>

Basque (eu) <script src="//cdn.muut.com/1/moot.eu.min.js"></script>

Brazil Portuguese (pt-br) <script src="//cdn.muut.com/1/moot.pt-br.min.js"></script>

Bulgarian (bg) <script src="//cdn.muut.com/1/moot.bg.min.js"></script>

Chinese (zh) <script src="//cdn.muut.com/1/moot.zh.min.js"></script>

Chinese / Taiwan (tw) <script src="//cdn.muut.com/1/moot.tw.min.js"></script>

Danish (da) <script src="//cdn.muut.com/1/moot.da.min.js"></script>

Dutch (nl) <script src="//cdn.muut.com/1/moot.nl.min.js"></script>

English (en) <script src="//cdn.muut.com/1/moot.en.min.js"></script>

Finnish (fi) <script src="//cdn.muut.com/1/moot.fi.min.js"></script>

Farsi / Persian (fa) <script src="//cdn.muut.com/1/moot.fa.min.js"></script>

French (fr) <script src="//cdn.muut.com/1/moot.fr.min.js"></script>

German (de) <script src="//cdn.muut.com/1/moot.de.min.js"></script>

Hebrew (he) <script src="//cdn.muut.com/1/moot.he.min.js"></script>

Hungarian (hu) <script src="//cdn.muut.com/1/moot.hu.min.js"></script>

Indonesian (id) <script src="//cdn.muut.com/1/moot.id.min.js"></script>

Italian (it) <script src="//cdn.muut.com/1/moot.it.min.js"></script>

Japanese (ja) <script src="//cdn.muut.com/1/moot.ja.min.js"></script>

Korean (ko) <script src="//cdn.muut.com/1/moot.ko.min.js"></script>

Norwegian (no) <script src="//cdn.muut.com/1/moot.no.min.js"></script>

Polish (pl) <script src="//cdn.muut.com/1/moot.pl.min.js"></script>

Portugese (pt) <script src="//cdn.muut.com/1/moot.pt.min.js"></script>

Slovak (sk) <script src="//cdn.muut.com/1/moot.sk.min.js"></script>

Spanish (es) <script src="//cdn.muut.com/1/moot.es.min.js"></script>

Swedish (se) <script src="//cdn.muut.com/1/moot.se.min.js"></script>

Romanian (ro) <script src="//cdn.muut.com/1/moot.ro.min.js"></script>

Russian (ru) <script src="//cdn.muut.com/1/moot.ru.min.js"></script>

Tamil (ta) <script src="//cdn.muut.com/1/moot.ta.min.js"></script>

Thai (th) <script src="//cdn.muut.com/1/moot.th.min.js"></script>

Turkish (tr) <script src="//cdn.muut.com/1/moot.tr.min.js"></script>

Ukrainian (uk) <script src="//cdn.muut.com/1/moot.uk.min.js"></script>