Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Transifex for translations #286

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

glezos
Copy link

@glezos glezos commented May 16, 2016

https://www.transifex.com/aligulac/public/

Transifex config file created as follows:

pip install transifex-client
django-admin.py makemessages -l en
tx set --auto-local -r aligulac.aligulac-app --source-lang=en --execute --type PO \ 
"locale/<lang>/LC_MESSAGES/django.po"
tx push --source
tx push --translations --force --skip
tx pull --all --force

Dimitris Glezos added 3 commits May 16, 2016 18:43
Now one can run the following commands to upload the source files from the
local repo to Transifex:

  django-admin.py makemessages -l en
  tx push --source

And the following to download fresh translations to create a release and
deploy:

  tx pull --all
We're now versioning these in Transifex on a string-level and can generate
them as follows:

Only translation files:
 tx pull --all

Translation and English files:
 tx pull --all --source
@glezos glezos changed the title Use Transifex from translations Use Transifex for translations May 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant