Contributors/Howtos/CommitingTranslations

From Tine 2.0 - Wiki

Sync Transifex

see http://docs.transifex.com/client/setup/ for client installation.

Transifex => Tine 2.0

# have a clean branch (for example master, 2016.03, ...)
git co master
git pull

# merge all langs (needs to be done in tine20 root dir)
tx pull -a -f --skip

# or alternatively merge one language (needs to be done in tine20 root dir)
tx pull -l ru
# if needed, we should checkout our de.po translations (if something was translated outside of transifex)
git checkout */translations/de.po
# push merged translations to transifex (only needed if something was translated outside of transifex)
tx push -t -l de
# commit lang updates 
git add */translations
git commit -m '#7086: update translation files'

git push gerrit HEAD:refs/heads/master


Tine 2.0 => Transifex

# update templates
./langHelper.php --pot
git commit -a -m 'update lang templates'
git push gerrit HEAD:refs/heads/master

# push to tx
tx push -s