[SERVER] Translation Framework v1.0.1

Discussion in 'Released Mods' started by Quitch, March 25, 2018.

  1. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    Enables translations on all Planetary Annihilation unit names and descriptions to allow easy creation of mods for currently missing translations. Activates inactive translations already in the base game.

    Excludes Commanders and base unit templates.

    This mod does not translate anything, it is designed to allow other modders to create translation packs, then hook into this mod as a dependency to ensure their use. English (US) is included to act as an example.

    Installation

    This mod can be installed via the in-game Community Mod manager.

    How To Use

    If you are a modder who wants to create a translation pack then first ensure you are familiar with the basics of Planetary Annihilation modding.

    Your mod should include the folder structure \ui\main\_i18n\locales\. Under this directory you will add a sub-folder using the relevant country code as supported by PA, for example en-US, and then your translations should be placed in a JSON within this directory. Please see the file units_extended.json in this mod's en-US folder for an example of this implementation.

    Translations should be entered into the message line. For example:
    Code:
        "Dox": {
          "message": "TRANSLATION HERE"
        },
    Your modinfo.json file should reference should this as a dependency:
    Code:
      "dependencies": [
        "com.pa.quitch.translationframework"
      ],
    Your mod must be a server mod, not a client mod. Client mods which include translation files currently break all translations in the game.
    Last edited: March 25, 2018
    dom314 likes this.
  2. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    CHANGELOG

    Version 1.0.1 - 2018-06-28
    • Error in Exodus translation
    • Added missing Exodus description
    Version 1.0 - 2018-03-25
    • Initial release
    • Enables name translations for:
      • Ant
      • Ares
      • ARKYD
      • Artemis
      • Astraeus
      • Atlas
      • Avatar Factory
      • Bluehawk
      • Dox
      • Exodus
      • Gil-E
      • Halley
      • Helios
      • Holkins
      • Jig
      • Kaiju
      • Lob
      • Manhattan
      • Omega
      • Ragnarok
      • Squall
    • Enables description translations for:
      • Avatar Factory
      • Exodus
      • Lob
      • Squall
  3. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    Version 1.0.1 - 2018-06-28
    • Error in Exodus translation
    • Added missing Exodus description

Share This Page