summary refs log tree commit diff stats
path: root/.tx
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-19 21:31:11 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-19 21:31:11 +0200
commit6661efde87e0522c26a5d349823a5525c5efed00 (patch)
tree99942f7a7cb34b2a997e5ae46ab5ae50e1112fa6 /.tx
parente85501bdff2bb5c0239858c49ac6ae1d62eebf21 (diff)
Add tutorial for managing Transifex
Diffstat (limited to '.tx')
-rw-r--r--.tx/howto.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/.tx/howto.txt b/.tx/howto.txt
new file mode 100644
index 00000000..3a9bfeec
--- /dev/null
+++ b/.tx/howto.txt
@@ -0,0 +1,33 @@
+More info: http://help.transifex.com/features/client/index.html
+
+1) To initialize a new project on Transifex:
+
+# tx init
+# tx set --auto-local -r hexchat.main "po\<lang>.po" --source-lang en --source-file po\hexchat.pot --execute
+
+Append 'type = PO' to .tx\config without apostrophes
+
+Push the resources to Transifex
+# tx push -s -t
+
+
+
+2) To update online translations:
+
+Regenerate the source file (hexchat.pot) on a Unix machine
+# ./autogen.sh && ./configure --enable-nls && make
+
+Push the updated source file to Transifex (this automatically updates all translation files)
+# tx push --source
+
+
+
+3) To update repo with online translations:
+
+Update local copy with Transifex updates
+# tx pull
+
+Update GitHub repo
+# git add po/
+# git commit
+# git push