mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-29 20:52:16 -05:00
1.2 KiB
1.2 KiB
Go to the Transifex client documentation for more info.
Initializing a new project on Transifex
tx init tx set --auto-local -r hexchat.main "po\.po" --source-lang en --source-file po\hexchat.pot --execute
Append type = PO
to .tx\config.
Push the resources to Transifex:
tx push --source --translation
Updating online translations with the template
Regenerate the source file ( hexchat.pot ) on a Unix machine:
rm po/hexchat.pot && ./autogen.sh && ./configure --enable-nls && make
Push the updated source file to Transifex (this automatically updates all translation files):
tx push --source
Updating the repo with online translations
Update local copy with Transifex updates:
tx pull
Update GitHub repo:
git add po/ git commit git push
Updating just one translation with local changes
tx push --translation --language xy
Where xy is the language code.
Forcing translation updates
tx pull --force
This might be required when the repo is freshly cloned and thus timestamps are newer than on Transifex.