edX i18n Python Tools
edX i18n tools are set of commands useful for developers and translators to extract, compile and validate translations. edX i18n tools can be downloaded here and installed running following command inside the extracted directory
python setup.py install
OR if you have edX platform installed then i18n tools should be already installed in edxapp virtual environment.Â
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.
General Commands
To extract source strings and populate .po translation files with them
i18n_tool extract
To generate test language(eo) translation files from source .po files
i18n_tool dummy
To compile .po translation files into .mo message files
To find translation errors in .po files
To determine if the source translation files(.po) are up-to-date
Transifex Commands
Developers or Translators can use commands provided by edX  i18n tools to upload translations to transifex or download them. Before using these commands one should have an account on transifex.com to create ~/.transifexrc file. Once transifex account has been setup create a ~/.transifexrc file having these contents.
Also make sure you have transifex configuration file .tx/config present under project directory.
To upload translations to transifex
To download translations from transifex