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 changed
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.5
Pinned a requirement to prevent failures when used with other applications.
v0.3.4
i18n_tool changed command added. This command determines if the source translation files are up-to-date. If they are not it returns a non-zero exit code.
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 Tox:
$ pip install tox
Run tests:
$ tox
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 tox
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.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26b648c467bc309513f98fa559f4b2149e10299f75f584672ecff3da8ba6be27 |
|
MD5 | 2c337743a1a078797982691250560a6d |
|
BLAKE2b-256 | c05d9ed1053ad3ef596cab6e350d31e20ec342539cc6244bad01f1a4948e2f71 |