Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Table of Contents
Tine 2.0 manages translations at Transifex, a free Web-Service for open source projects.
To translate Tine 2.0 into your language follow these simple steps:
- Make yourself familiar with the Transifex Help
- Signup for free as on open source translator
- request / join team for your language and wait for approval
- Start translating in your language
The translations done in Transifex are not automatically available in Tine 2.0 but will be synced from time to time from us.
see http://docs.transifex.com/client/setup/ for client installation.
- has been updated for 2017.08 -
# merge all langs (needs to be done in tine20 root dir) $ vendor/bin/phing tx-pull
# 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) # you might need the --force option (but be careful with that!) tx push -t -l de
git push gerrit HEAD:refs/for/master
# update templates and push to transifex vendor/bin/phing tx-push
# commit new pot files git commit -a -m 'update lang templates' git push gerrit HEAD:refs/for/master
to tell git how to merge po files.
add this to your .git/config:
po-merge-helper aktivieren (eintrag in .git/config)
[merge "pofile"] name = merge po-files driver driver = ./scripts/merge-po-files %A %O %B recursive = binary