Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Sep 6, 2018
1 parent 88936c9 commit 60d1dc6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,29 @@ Notes:

For information about working with translations, see the [Internationalization Support](http://edx.readthedocs.io/projects/xblock-tutorial/en/latest/edx_platform/edx_lms.html#internationalization-support) section of the [Open edX XBlock Tutorial](https://xblock-tutorial.readthedocs.io/en/latest/).

### Working with POEditor

### Working with Transifex
Prepare your environment:

```
$ mkvirtualenv oppia-xblock
$ mkvirtualenv poll-xblock
$ make requirements
```

Also ensure that the [POEditor client](https://github.com/lukin0110/poeditor-client) has the correct API access token
by setting the environment varialbe `POEDITOR_TOKEN` to the value from your [account settings](https://poeditor.com/account/api).
Also ensure that the [Transifex client has the proper authentication](https://docs.transifex.com/client/init)
in the `~/.transifexrc` file.

Push new strings to POEditor:
Push new strings to Transifex:
```
$ make push_translations
```

To get the latest translations from POEditor:
To get the latest translations from Transifex:
```
$ make pull_translations
```

For testing purposes it's faster to avoid Transifex and work on dummy Esperanto translations:
```
$ make build_dummy_translations
```
3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
Django==1.11
django-statici18n==1.8.2
Babel==1.3
# TODO: Revert back to `poeditor-client==0.0.5`, once it's published on PyPI
git+https://github.com/lukin0110/poeditor-client@v0.0.5#egg=poeditor-client==0.0.5
transifex-client==0.12.1
edx-i18n-tools==0.4.5

0 comments on commit 60d1dc6

Please sign in to comment.