Content Patcher

Content Patcher

463k Downloads

Support mod translations

bruceCzK opened this issue ยท 6 comments

commented

Is it possible to use description texts of other language such as Chinese?

commented

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. :)

commented

@Pathoschild I'm planning to translate Lookup Anything to Chinese, any suggestion / guide for how should I do it?

commented

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. :)

commented

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.

commented

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:

  1. Install SMAPI 1.14+.

  2. Install the preview version (see below) of the mod to translate.

  3. 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
  4. 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}}.

  5. Launch the game to try your translations.
    You can edit translations without restarting the game; just type reload_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:

commented

Closed for release. Any further translations can be added in future versions.