diff --git a/README.transifex b/README.transifex index 389bd01..c391636 100644 --- a/README.transifex +++ b/README.transifex @@ -1,3 +1,9 @@ +Updating translations +===================== + +The update-transifex.sh script should be run regularly to both pull +translations from the Transifex service, and push new strings to translate. + Transifex.net Token Verification ================================ diff --git a/update-transifex.sh b/update-transifex.sh new file mode 100755 index 0000000..33512a1 --- /dev/null +++ b/update-transifex.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +test -f .tx/config || exit 1 + +echo Pulling translations from Transifex +tx --root `dirname $0` pull --all --force --skip + +echo Pushing strings to Transifex +tx push --source