Skip to content

Use Transifex for translations#286

Open
glezos wants to merge 3 commits into
TheBB:masterfrom
glezos:transifex
Open

Use Transifex for translations#286
glezos wants to merge 3 commits into
TheBB:masterfrom
glezos:transifex

Conversation

@glezos

@glezos glezos commented May 16, 2016

Copy link
Copy Markdown

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