Changes

From Gramps

Translation environment4

371 bytes added, 05:31, 8 January 2017
Translating man pages
and on Linux run the following command <code>mkdir xx</code>
where <code>xx </code> is your languagecode two letter [https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes language code] (fr for French, sv for Swedish, etc.) You should use Git. See [[Brief_introduction_to_Git| the introduction to Git]].
Next step is to copy the <code>en.rst </code> from <code>data/man </code> to your new directory and rename it to your language codeeg: <code>fr.rst</code> for French.
Translate Then translate all relevant strings in the <code>data/man/xx/xx.rst </code> file.
Edit the file [https://github.com/gramps-project/gramps/blob/master/data/man/update_man.py data/man/update_man.py by adding ] and search for following line <code>LANGUAGES = ['sv', 'nl', 'pl', 'cs', 'pt_BR', 'fr', 'xx']</code> where 'xx' is your langnew language. Save the file.
Run data/man/update_man.py:
<code>$ python update_man.py -m</code>
All changes must be committed and pushed to your server (You should use Git. See [[Brief_introduction_to_Git| the serverintroduction to Git]].):
git commit -am "Add man page for xx"
git push

Navigation menu