blob: 7be17a215549e3a41d742eaed24fea2174409921 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Translation:
to update the pot file run:
xgettext -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
|