forked from fedora-selinux/setroubleshoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Zanata translations
Petr Lautrbach edited this page May 5, 2015
·
1 revision
To use Zanata, you need to:
- Register in https://fedora.zanata.org
- If you are not the maintainer of your project yet, contact the admin to add you as maintainer.
- Follow the instruction http://zanata.org/help/cli/cli-configuration/ to set up client.
- Place the attached zanata.xml, in the root directory of source repository.
- (Optional) Integrate
zanata push
andzanata pull
to your build script
Only master branch is migrated, should you need other versions, follow these steps.
- Suppose you are in master branch
cp zanata.xml /tmp
- Switch to corresponding branch
- Make sure the source (.pot) and translation files (.po files) exists by either
- If source control hosts translation: You don't need to do anything
- If transifex hosts translation:
tx pull -a
- If zanata hosts translation:
zanata-cli -e -B pull
cp /tmp/zanata.xml .
- In Zanata web UI, create version
- Edit the zanata.xml and change ... with your version
- run
zanata-cli -e -B push --disable-ssl-cert --push-type=both