edX Internationalization Tools
Project description
Installing
python setup.py install
Running
Running commands from the edx-platform directory will default to loading the configuration at ./conf/locale/config.yaml. You can specify a different configuration file with the --config argument.
i18n_tool dummy
i18n_tool extract
i18n_tool generate
i18n_tool segment
i18n_tool transifex
i18n_tool validate
Configuration
Details of the config.yaml file are in edx-platform/conf/locale/config.yaml
Changes
v0.3.2
i18n_tool validate no longer complains about problems in both the component .po files and the combined .po files.
v0.3.1
i18n_tool extract will preserve existing django.po and djangojs.po files in the source directory.
v0.3
i18n_tool transifex push and i18n_tool transifex pull now can take optional resource names on the command line. If not provided, all resources are pushed/pulled.
v0.2.1
i18n_tool validate no longer leaves an unneeded messages.mo file behind.
Development
To work on this code:
Install the requirements:
$ pip install -r requirements.txt
Run tests:
$ nosetests
If you have failures because msgcat failed, you may need to install it, and adjust your PATH to include it. On a Mac, for example:
$ brew install gettext $ PATH=/usr/local/Cellar/gettext/0.19.3/bin/:$PATH nosetests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for edx_i18n_tools-0.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 632800e568322d0a70e4a4dc4645792a97b32028456837ac403dfbfbe301de46 |
|
MD5 | 3e69d3b22aca6375cd5088bb49f68484 |
|
BLAKE2b-256 | 8fa8316e3ff095ee3013164210749e6345f6d010a3fd54732dca5234438de131 |