Giter Club home page Giter Club logo

languages's Introduction

Return To The Roots

Language files for s25client

Importing translations from launchpad

  • Checkout current master branch (git checkout master && git pull origin)
  • Request export from launchpad (PO format): https://translations.launchpad.net/s25rttr/s25client/+export
  • Put downloaded files into RTTR/languages overwriting existing ones
  • IMPORTANT: Run make -B translations in the build directory of rttr so PO files get sorted. Check the diff that there are only minor changes/updates, no complete reordering.
  • Commit and create a pull request with the change

Updating po template (rttr.pot)

  • Checkout current master branch
  • Download and install poedit (https://poedit.net) >= 1.8.7
  • Open rttr.pot
  • Press "Update" or "Catalog"->"Update from sources"
  • Save and commit
  • Optional: Update po files of your language using poedit.
    • Open po file
    • Click "Catalog"->"Update from POT file" (rttr.pot)
    • Check and fix auto-translations
    • Remove unused translations (Validate, that they are actually unused)
    • Save
    • Run make -B translations in the build directory to have gettext sort the translations. Alternatively run msgmerge --sort-output --no-wrap --quiet --update --backup=none <abspath-to-file>.po <abspath-to-rttr.pot>rttr.pot on every po-file
    • commit
  • Create a pull request with the change

Updating/Changing po files (Translations)

  1. Use poedit (https://poedit.net) to edit .po files and create a pull request

    • Checkout current master branch
    • Open po file of your language
    • Make any changes to the translations
    • Save and commit
  2. Translate online via https://translations.launchpad.net/s25rttr (could take longer to get into release)
    You can drop us a hint on Discord (https://discord.gg/kyTQsSx) if you did a larger translation.

languages's People

Contributors

evelrus avatar fcercwer3 avatar flamefire avatar flow86 avatar frin avatar ii8 avatar izikeros avatar jonathansteinbuch avatar marcusst avatar mrguigeek avatar spikeone avatar stefson avatar tehkain avatar theau-aurelien avatar thobov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

languages's Issues

Manual language update

Good afternoon
Please tell me how to add your translation to the game file directly? If I simply copy the file into the directory with languages, then when the game starts it is automatically replaced with the original one (And language pack updates have not been included in releases since August (

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.