Community Translations

Collaborate with other modders to make Synthesia the way you want it.
Always the latest versions: [ colors.xml | ui.xml ]
Read the Getting Started topic to learn how important it is to MERGE YOUR CHANGES every time you download a new dev preview.

Postby Nicholas » 01-15-17 6:23 pm

Adding additional user-interface languages to Synthesia is pretty straightforward. The language file format lacks good 3+ plural support but otherwise it's fairly flexible.

The following always match the latest development preview release from the Development Updates section of the forum.



languages.xml

This file controls the list of languages shown when you click the button at the lower-left on the title screen. Just copy-paste one of the existing lines edit it to suit the language you're adding. Remember the "suffix" value you set for the next file.



language.xml

Rename this file "language_[suffix].xml" using the suffix you picked above. (For example, the filename for the French language is "language_fr.xml".)

Now, just edit the contents of the file and replace all of the "v" attributes with new translations. Whenever you see something like "%1%" that means a value will be inserted automatically by Synthesia. Just be sure to keep the %1% where it belongs in the new translation.



Once you're finished, place both languages.xml and your new language_xx.xml file in the Synthesia data folder. (To find the folder, hold Shift while launching the app and click "Open Data Folder".)

The next time you launch Synthesia, your language should appear in the pop-up.
Nicholas
 
Posts: 11034

Return to Modding Synthesia

Who is online

Users browsing this forum: No registered users