summaryrefslogtreecommitdiffstats
path: root/TRANSLATION
blob: ef8b2c46b24bc5423611393114e0ba6017744dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Translation:

to update the pot file run:

xgettext --add-comment=/ -L PHP -n --package-name=edoko --msgid-bugs-address=arun@nubati.net *php */*php
mv messages.po po/messages.pot

To start a new translation use something like (here shown to create de.po):

cd po
msginit -i messages.pot  -o de.po

To update a po file run:

cd po
msgmerge de.po messages.pot -o de.po

Start editing and then after updating a po run:

msgconv -t utf-8 de.po > de.po.new && mv de.po.new de.po
msgfmt -cv -o de.mo de.po
mv de.mo ../locale/de/LC_MESSAGES/edoko.mo