Tomb/extras/translations
2024-01-26 00:38:37 +01:00
..
de.po fix typo Succesfully -> Successfully 2022-10-20 12:25:40 +02:00
es.po Translations: updated 'es', 'fr', 'it' and 'ru.po' to line up help message 2023-08-24 21:21:18 +02:00
fr.po Translations: updated 'es', 'fr', 'it' and 'ru.po' to line up help message 2023-08-24 21:21:18 +02:00
generate_translatable_strings.pl Automatically remove conflicting quotes on pot generation 2017-01-21 18:48:09 +01:00
generate_translatable_strings.sh renamed extras/po to an intelligible name 2015-12-13 01:12:44 +01:00
it.po Translations: updated 'es', 'fr', 'it' and 'ru.po' to line up help message 2023-08-24 21:21:18 +02:00
Makefile Updated Brazilian Portuguese translation (pt_BR). Also updated Makefile 2023-08-24 21:21:18 +02:00
pt_BR-2.10.po Added Brazilian Portuguese (pt_BR) translation (for Tomb 2.10). Also 2023-08-24 21:21:18 +02:00
pt_BR.po Updated Brazilian Portuguese translation (pt_BR). Also updated Makefile 2023-08-24 21:21:18 +02:00
README.md Added README to extras/translations. 2023-08-24 21:21:18 +02:00
ru.po Translations: updated 'es', 'fr', 'it' and 'ru.po' to line up help message 2023-08-24 21:21:18 +02:00
sv.po Translated using Weblate (Swedish) 2023-12-07 02:33:37 +01:00
tomb-2.10.pot Added Brazilian Portuguese (pt_BR) translation (for Tomb 2.10). Also 2023-08-24 21:21:18 +02:00
tomb.pot Update copyright in translation source 2024-01-26 00:38:37 +01:00
zh_Hans.po fix typo Succesfully -> Successfully 2022-10-20 12:25:40 +02:00

TRANSLATIONS

1. How to translate

Tomb uses the Weblate platform to manage the translation efforts of it's user community.

In Weblate, an user can click "Start new translation", choose a language and click "Request new translation". Additionally, just to reinforce your request, we recommend opening an issue requesting the development team to open a new translation for your language.

2. About files in this folder

All translation files in this folder (those with a ".po" extension) are based on the tomb.pot file.

POT files are just templates and they don't contain any translations. To do a translation, create a new PO file based on the template.

The tomb.pot template must be created using the perl script generate_translatable_strings.pl for each new version of Tomb:

$ perl generate_translatable_strings.pl > tomb.pot

After that, just open the tomb.pot file in the poedit program, and click on "Start new translation" (bottom left button), select your language, save and start translating.

3. Notes on versioning

As of June 27, 2023, the current tomb.pot template was created on January 2, 2017 for Tomb version 2.3, which was released on the same date, as can be seen in tag v2.3.

$ sed -n '9p' tomb.pot
"PO-Revision-Date: Mon Jan  2 22:40:32 2017\n"

Thus, all files in this folder, as of June 27, 2023, are valid for tomb version 2.3 only.

Old translations may work with recent versions of Tomb, but will be incomplete and wrong at many points.

3.1 Exception

Translation files for Brazilian Portuguese (pt_BR) was created in June 27, 2023. Precisely when it was noticed that the translations were out of date.

So the translator created two versions: one for Tomb 2.3 (pt_BR.pot based upon tomb.pot) and another for Tomb 2.10 (pt_BR-2.10.pot based upon tomb-2.10.pot).

For now it is the only updated translation for the current version of Tomb.

4. Updating translation

In your favorite shell, make a backup of old file adding it's version, then update with msgmerge:

$ cp lang.po lang-2.3.pot
$ msgmerge --update lang.po tomb-2.10.pot

Open the new updated PO translation file and start reviewing the translation.