django-transifex
django-transifex copied to clipboard
Django integration with python-transifex
Running this: ``` python manage.py tx push --help ``` Gives this output: ``` usage: manage.py tx [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] args [args ...] Available...
Since the `PROJECT_PATH` app setting was not documented, and was only ever used to determine the location of the locale files, I have renamed this to LOCALE_PATH and removed one...
When I run ``` ./manage.py tx pull_translations ``` without having specified `TRANSIFEX_PROJECT_PATH` in the settings I get the following exception: ``` Executing pull_translations on project test-392 Pulling translations for "test-392"...
The default host https://www.transifex.net gives an SSL exception, as the site cert is for *.transifex.com. Would be good to update the default host to `https://www.transifex.com`.
- would be nice to mention which app name needs to be installed, `djangotransifex` - all settings must be prefixed with `TRANSIFEX_` - `SOURCE_LANGUAGE_CODE` is `TRANSIFEX_SOURCE_LANGUAGE`
With django moving to argparse the management command now fails: ``` usage: manage.py tx [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] manage.py tx: error: unrecognized arguments: pull_translations...
**pull_translations** does map from Transifex codes to Django codes and it works well, but it seems that **upload_translations** just uses the Django's language code, ignoring the mapping, which then creates...