summaryrefslogtreecommitdiffstats
path: root/TRANSLATION
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2010-03-14 14:36:47 -0700
committerArun Persaud <arun@nubati.net>2010-03-14 14:36:47 -0700
commitc581cd05476d07f0fd17dab41cbb211a443fd57f (patch)
tree979cf3f097d6e2237303075ee07578b8f4d27110 /TRANSLATION
parentf47ddae6b4d00d950c3a29d6b7536ce1ae9ac813 (diff)
parent83fc1a851c69e13808d14f2d5a284c3369409018 (diff)
downloade-DoKo-c581cd05476d07f0fd17dab41cbb211a443fd57f.tar.gz
e-DoKo-c581cd05476d07f0fd17dab41cbb211a443fd57f.tar.bz2
e-DoKo-c581cd05476d07f0fd17dab41cbb211a443fd57f.zip
Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo
Diffstat (limited to 'TRANSLATION')
-rw-r--r--TRANSLATION23
1 files changed, 23 insertions, 0 deletions
diff --git a/TRANSLATION b/TRANSLATION
new file mode 100644
index 0000000..38bbaaa
--- /dev/null
+++ b/TRANSLATION
@@ -0,0 +1,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
+
+Start editing and then after updating a po run:
+
+msgconv -t ISO-8859-1 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 \ No newline at end of file