https://github.com/return-to-the-roots/languages
Language Files for s25client
https://github.com/return-to-the-roots/languages
po-files rttr translation
Last synced: about 1 month ago
JSON representation
Language Files for s25client
- Host: GitHub
- URL: https://github.com/return-to-the-roots/languages
- Owner: Return-To-The-Roots
- Created: 2015-02-21T19:04:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-23T22:42:37.000Z (4 months ago)
- Last Synced: 2025-05-08T17:57:52.212Z (about 1 month ago)
- Topics: po-files, rttr, translation
- Homepage: https://translations.launchpad.net/s25rttr
- Size: 6.27 MB
- Stars: 4
- Watchers: 8
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/CC0-1.0.txt
Awesome Lists containing this project
README
# 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 of RTTR to have gettext sort the translations.
Note that you need to have [RTTR](https://github.com/Return-To-The-Roots/s25client) configured already for that to work.
Alternatively run `msgmerge --sort-output --no-wrap --quiet --update --backup=none .po ` 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 commit2. 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.