aboutsummaryrefslogtreecommitdiffstats
path: root/.tx/config
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2012-10-19 13:52:13 +0100
committerMark Longair <mhl@pobox.com>2012-10-19 14:16:16 +0100
commiteb9b8d995d33c5f90d405c31342b08849f601570 (patch)
treefc0c9030c44ddc48e2c9f437ce3fb6117afad112 /.tx/config
parenta4940bc8a5cb9f8d23709088e868deb809568ce3 (diff)
Set up internationalization with Transifex
gettext-extract needs to be changed to instantiate values in the Plural-Forms header line, otherwise on pushing the source pot file (locale/FixMyStreet.po) it fails one of the checks that Transifex runs (msgfmt -c). This commit also adds the .tx/config configuration file, which points to the right project on Transifix and specifies where the source and translated files are in the project structure.
Diffstat (limited to '.tx/config')
-rw-r--r--.tx/config9
1 files changed, 9 insertions, 0 deletions
diff --git a/.tx/config b/.tx/config
new file mode 100644
index 000000000..44db89d9e
--- /dev/null
+++ b/.tx/config
@@ -0,0 +1,9 @@
+[main]
+host = https://www.transifex.com
+type = PO
+
+[fixmystreet.master]
+file_filter = locale/<lang>.UTF-8/LC_MESSAGES/FixMyStreet.po
+source_file = locale/FixMyStreet.po
+source_lang = en
+