-
Notifications
You must be signed in to change notification settings - Fork 4
How to add Translations
Nithish edited this page Dec 1, 2021
·
4 revisions
The strings of text that need to be translated are stored in json (text) files under the i18n folder of each mod. The default.json file contains the English text that is shown in the UI. To add translation you need to create new json files in the same folder (i18n folder) named based on the following.
File name | Language |
---|---|
zh.json | Chinese |
fr.json | French |
de.json | German |
hu.json | Hungarian |
it.json | Italian |
ja.json | Japanese |
ko.json | Korean |
pt.json | Portuguese |
ru.json | Russian |
es.json | Spanish |
tr.json | Turkish |
Optionally read this page to get the complete info on SMAPI translations.
- Open your text editor of choice (like notepad, etc)
- Copy the contents of this file and paste it into the editor
- Translate the strings of text to the right of the colon (those are the ones that will be displayed), to the desired language.
- Save the file as per the table found above, into the mod's i18n folder
(
C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\CustomReminders\i18n
by default). - if you've saved the file with the right name/extension in the right folder, you must be able to see the translations in effect when you play the game next time. You can now proceed to send the translations my way so I can release it.
DM me the json file you've created in Discord at Dem1se#7990 or create a Github PR (complicated for non-programmers), and your file is ready to be shipped with the next update! You'll be credited in the file. Thanks :D