| 1 |
We were kindly invited by the MATE project to use their transifex ressources |
| 2 |
for galculator: |
| 3 |
|
| 4 |
https://www.transifex.com/projects/p/MATE/resource/galculator/ |
| 5 |
|
| 6 |
For short instruction on how to use transifex, see |
| 7 |
|
| 8 |
http://wiki.mate-desktop.org/translation |
| 9 |
|
| 10 |
So if you are interested in translating galculator, please register at |
| 11 |
transifex and provide your translation through transifex. If this is not an |
| 12 |
option for you, follow the old instructions below and submit your translations |
| 13 |
on sourceforge as patch or feature request. |
| 14 |
|
| 15 |
If there are new strings to translate, run |
| 16 |
intltool-update -p |
| 17 |
to update the po/galculator.pot file and |
| 18 |
tx push -s |
| 19 |
to push the new source file (configure in .tx/config) to transifex. |
| 20 |
|
| 21 |
Before a release, do a |
| 22 |
tx pull -f -a --minimum-perc=10 |
| 23 |
to get all translations with a minimum translation count of 10%. |
| 24 |
|
| 25 |
Add all to SVN, and add the resp. language codes to configure.in! |
| 26 |
|
| 27 |
################################################################################ |
| 28 |
# |
| 29 |
# This is the old instructions before we use transifex |
| 30 |
# |
| 31 |
################################################################################ |
| 32 |
|
| 33 |
xgettext -f POTFILES.in -k=_ -o package.pot |
| 34 |
creates a new package.pot. please note that file galculator.pot exists |
| 35 |
and that you don't need this step therefore. resume with: |
| 36 |
|
| 37 |
msginit -l ll |
| 38 |
with ll language code (e.g. de) sets up ll.po file |
| 39 |
|
| 40 |
edit this ll.po file |
| 41 |
|
| 42 |
this ll.po must be in UTF-8. |
| 43 |
|
| 44 |
make update-po |
| 45 |
for merging etc. look out for FUZZY entries etc |
| 46 |
|
| 47 |
search at google for "locale id" to look up language codes |
| 48 |
|
| 49 |
no empty newline in POTFILES.in!!!!! |
| 50 |
|
| 51 |
add language code to ../configure.in |