Translations
Learn everything about translating Monogatari's UI to other languages!
Overview
Apart from allowing you to have a script for different languages, Monogatari's UI can also be translated to multiple languages. If you are someone who knows a language different from English, your help on translating the project is more than welcome!
Getting started
The first step is to figure out whether a translation for you language already exists or if it has to be created, you can find all languages available here.
If there is a translation already available for your language, then all you'll have to do is update or add whatever strings are missing, if there isn't one yet, then you'll have to create a new file for it.
All translations take the English strings file as its base so you'll need to check it out to see what you need to translate. Below is a sample of the file, be aware this is for demonstration purposes only and may be outdated so you should always check the source file instead. It is important that you only translate the strings on the right, as opposed to their keys on the left ('SomeKey': 'Some string to translate'
).
Updating an Available Language
If a translation for your language already existed, then all you need to do is check the English file and compare it to the one in your language to make sure every string translated is updated (meaning the English version and the translation match on its wording/meaning) and adding any string that was not previously there.
Adding a New Language
If there was no translation for your language available, then you first need to create a file for it. The file should be placed next to all the other translations and should be named after the language you are translating for. Preferably, keeping the name of your language in the language itself so:
English =>
English.js
Spanish =>
Español.js
Japanese =>
日本語.js
You get the idea. Once you've created the file, simply copy the contents of the English translation file and you're all set to start translating all the strings there!
Credit Yourself
When you finish, be sure to place your name/nickname on the translations file, you can also leave your email or website next to it. You did an awesome work so you deserve to take credit for it!
Last updated