We've been using Transifex for more than a year now, and quite happy with the way crowdsourcing can help enrich the reach of your extensions. However, updating all the resources for all the extensions was a painful task and something everyone wanted to avoid. The tx-client eases some pain by allowing easy pushes & pulls of source files & translations. However, the tx-client relies on a 'config' file to be updated with all the resource slugs. With so many extensions and also with so many plugin language files getting added regularly, it's a tough task to keep on updating the config file.
At Techjoomla we had almost 10 major extensions using Transifex, each with 5-10 resources. To speed up things, here's a shell script that I wrote up. The script automates updating of your Transifex config file. That way, every time you need to add more resources, just pull them from your source control and run the joomlatx.sh script and your config will be updated with all the resources.
Here's a step by step tutorial on how to set up and use the script
$ cd /home/ashwin/SVN $ tx init
myproject/trunk/admin/lang/en-GB
myproject/trunk/admin/lang/fr-FR
myproject/trunk/site/lang/en-GB
myproject/trunk/site/lang/fr-FR
In this case, you should only put the path till the /lang folder. The script will automatically pick up the default language files based on the setting in joomlatx.sh
$ ./joomlatx.sh
Note: If you have already set up resources in Transifex, then you will need to update the resource slugs in Transifex according to the relevant slug names that have been created in the config file by the script. If you don't do this, you will end up with duplicate language files on Transifex.
$ tx push -s $ tx pull
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.