Translators
===========

Before starting translation of the words/texts, that we have in the program, the po files
needs to be updated
 - cd po            (Always be in the po folder)
 - ./updatepo.sh    (Updates po from source code and shows status)

When done the .po files are ready to be changed, thanx for helping with translation.


Status
------
This is an example of status of the different languages including your own after
editing - use the ./updatepo.sh

hardinfo2.pot now has 1334 strings (+3), with 64 c-format strings
- [x] da.po : (0 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] de.po : (860 / 1333 remain untranslated, needs work/fuzzy: 2)
- [ ] es.po : (458 / 1333 remain untranslated, needs work/fuzzy: 18)
- [ ] fr.po : (852 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] hu.po : (1169 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] ka.po : (259 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] ko.po : (232 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] pt_BR.po : (28 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] pt.po : (221 / 1333 remain untranslated, needs work/fuzzy: 0)
- [x] ru.po : (0 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] sv.po : (6 / 1333 remain untranslated, needs work/fuzzy: 1)
- [ ] tr.po : (24 / 1333 remain untranslated, needs work/fuzzy: 0)
- [ ] zh_CN.po : (937 / 1333 remain untranslated, needs work/fuzzy: 0)

Needs work/fuzzy typically has to do with spaces/periods at begin/end of translation.


Editing
-------
Use the poedit program installed by:
 - apt install poedit  (Debian flavours)
 - yum install poedit  (Redhat flavours)

Start the program:
 - poedit ./xx.po   (xx=LANGUAGE-2LETTER-SMALL-CAPS)

NOTE: In poedit please only do translation and use find, validate and save.


New Language
------------
 - cp NEW xx.po  (xx=LANGUAGE-2LETTER-SMALL-CAPS)
 - emacs ./xx.po    (edit the empty po and change all CHANGE-* accordingly)
 - ./updatepo.sh    (updates the po with all the words/text we have in the program and shows status)
 - ready to edit - see above


Backup and Commit to GitHub
---------------------------
 - git add xx.po    (If you have made a new language translation)
 - git commit xx.po (Just commit your changed translation file to local repo)
 - git push         (Push it to github)

It is better to make a git push too much than loose all your great work.
Update gettext translation files.

