diff options
author | papoteur-mga <yves.brungard_git@gadz.org> | 2013-09-26 20:49:51 +0200 |
---|---|---|
committer | papoteur-mga <yves.brungard_git@gadz.org> | 2013-09-26 20:49:51 +0200 |
commit | 2ece2daa063a57a523f420a656cc601f352ed64f (patch) | |
tree | 44e3c2e3b37199f06353f12c42af479c89b06afb /i18n.md | |
parent | 25afb8ca22016f2eac31f38236ec1ffc081bd9aa (diff) | |
parent | dc1e3e443117f8643906cdb8792404377a809624 (diff) | |
download | isodumper-2ece2daa063a57a523f420a656cc601f352ed64f.tar isodumper-2ece2daa063a57a523f420a656cc601f352ed64f.tar.gz isodumper-2ece2daa063a57a523f420a656cc601f352ed64f.tar.bz2 isodumper-2ece2daa063a57a523f420a656cc601f352ed64f.tar.xz isodumper-2ece2daa063a57a523f420a656cc601f352ed64f.zip |
Merge branch 'master' of https://github.com/papoteur-mga/isodumper
get uk.po
Diffstat (limited to 'i18n.md')
-rw-r--r-- | i18n.md | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ +# Translating IsoDumper + +First, make sure you have installed the `gettext` package. + +Here are the steps to add/update a translation (you should run all scripts from +the source root): + +1. Get an up-to-date copy of the source files. Preferrably, make a clone on + GitHub and clone it locally on your machine; this way you can later make a + pull request to the main project. + +2. Run `./tools/po-update.sh <language>`; it will create/update the file + `./po/<language>.po`. + +3. Edit `./po/<language>.po` with your favourite editor (just make sure it saves + the file with the UTF-8 encoding). For each string in english (msgid), edit + the translation (msgstr); if you leave msgstr empty, the string will remain + untranslated. + + Alternatively, you can use the excellent `poedit`. + +4. Run `./tools/po-compile.sh`. It will bring up-to-date all the compiled + language files, necessary at runtime. + +5. Start IsoDumper (`./bin/isodumper`). By default it will pick up the system languge + from your environment; to start it in another language, run + `LANGUAGE=<language> ./bin/isodumper`. + +You can edit the translation iteratively, just repeat from step 3. +If the upstream changes, do a `git pull` and then repeat from step 2. |