Support mod translations
bruceCzK opened this issue ยท 6 comments
Hi @bruceCzK. I do want to translate Lookup Anything, but it'll be a lot of work. I'll look into it sometime after Stardew Valley 1.2 is released. :)
@Pathoschild I'm planning to translate Lookup Anything to Chinese, any suggestion / guide for how should I do it?
It's not really possible yet. I'll look into translating all my mods (including Lookup Anything) once Stardew Valley 1.2 and SMAPI 2.0 (which has some features that will make it easier) are released. :)
SMAPI 1.14 will add a mod translation API (see Pathoschild/SMAPI#296), and I'll add translation support for all my mods soon after.
My mods can now be translated into any language supported by the game. ๐
How to translate
Here's how to translate one of my mods:
-
Install SMAPI 1.14+.
-
Install the preview version (see below) of the mod to translate.
-
Copy
default.json
into a new file with the right name:language file name Chinese zh.json
German de.json
Japanese ja.json
Portuguese pt.json
Spanish es.json
-
Translate the second part on each line:
"example-key": "some text here" ^-- translate this
Don't change the quote characters, and don't translate the text inside
{{these brackets}}
. -
Launch the game to try your translations.
You can edit translations without restarting the game; just typereload_i18n
in the SMAPI console to reload the translation files.
Post translations here or send them to me privately. :)
Current status
Translations so far:
Chests Anywhere | Debug Mode | Lookup Anything | thanks to | |
---|---|---|---|---|
Chinese | โ zh.json | โ zh.json | โ zh.json | yuwenlan |
German | โ de.json | โ de.json | โ de.json | Sasara |
Japanese | ||||
Portuguese | ||||
Spanish |
Preview versions
Here are preview builds of the upcoming releases, with translation support included: