From eb9b8d995d33c5f90d405c31342b08849f601570 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Fri, 19 Oct 2012 13:52:13 +0100 Subject: 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. --- .tx/config | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .tx/config (limited to '.tx') 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/.UTF-8/LC_MESSAGES/FixMyStreet.po +source_file = locale/FixMyStreet.po +source_lang = en + -- cgit v1.2.3