From cce897ca8fc3eca5650baeeb694e4d8e2179f964 Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 7 Mar 2016 03:34:02 +0100 Subject: [PATCH] Transifex config update To make it work right with, for example, the CLI client, it's easier to change it to the real Transifex behaviour so that the source language is ignored if you pull/push the files. The file_filter seems to use the `` expression as a wild card. On my tests with the CLI Client, it worked perfectly with one `` expression to get the right language code from Transifex, if it is set up properly on Transifex. (`locale/languagecode_LANDCODE/messages.*`) Now the .tx config should fit the Ampache project. Maybe here was one of the problems, why it wasn't working with the Amazon instance? Well, I don't know how it was tested, so it's only a shot into the blue. :-) By the way, I also didn't get it really working, for my taste, too less examples or bad documented, idk.. -.- But if I have the time, I'm still on it. :-D :-) --- .tx/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.tx/config b/.tx/config index a74e069204..59ec51aca0 100644 --- a/.tx/config +++ b/.tx/config @@ -1,8 +1,8 @@ [main] host = https://www.transifex.com -[project_slug.resource_slug] -file_filter = locale/_/LC_MESSAGES/messages.po +[ampache.messagespot] +file_filter = locale//LC_MESSAGES/messages.po source_file = locale/base/messages.pot -source_lang = en_US +source_lang = en type = PO