September 5, 2020

Change Language Open edX

Linux, Unix, BSD, MacOS, Komunitas Pengguna Linux Indonesia, KPLI Klaten, KPLI Bulukumba, MikroTik, MikroTik Indonesia, FreeBSD, FreeBSD Indonesia, Cisco, Cisco Indonesia, BLC Telkom Klaten, Ansible, Nginx, Apache2, Caddy Server, Ayo Belajar Linux, Cloud Computing, e-Learning, Open edX, Proxmox, Sendy, Microsoft SQL Server, MySQL, PostgreSQL, Lets Encrypt, Case Study, Atlassian, Virtualization, Faizar Septiawan, Icar, siBunglonGanteng, siBunglonLabs, Orang Ganteng

Open edX uses Transifex, an open source translation platform, to power the translation of edX software into different languages. All translations are hosted at, which provides a web application allowing translators to write, submit, and manage their translations.

  1. Login to server and switch to edxapp environment for edX native installation.
$ sudo -H -u edxapp bash
$ source /edx/app/edxapp/edxapp_env
$ cd /edx/app/edxapp/edx-platform
  1. Install Python dependencies
$ pip install transifex-client

or when using bitnami, use this

$ sudo /opt/bitnami/apps/edx/bin/pip.edxapp install transifex-client
  1. Create the ~/.transifexrc file and set your credentials as follows:
hostname =
username = USER
password = PASS
token =

Token is left blank. You have to have permissions for the project (edx-platform) AFAIK - (it is free to sign up and join this project as a translator).

  1. Make sure all languages you wish to download are present and uncommented in conf/locale/config.yaml. For example, if you wish to download Arabic and Indonesian, make sure your config.yaml file looks like this:
     - en  # English - Source Language
     - id  # Indonesian
  1. Set the value of the LANGUAGE_CODE variable to the language you desire (for example, set it to “es_es” to translate it to Spanish) in the configuration files.

For Open edX native installation

  • /edx/app/edxapp/lms.env.json
  • /edx/app/edxapp/cms.env.json
  • /edx/app/edxapp/edx-platform/lms/envs/

For Open edX on bitnami

  • /opt/bitnami/apps/edx/conf/cms.env.json
  • /opt/bitnami/apps/edx/conf/lms.env.json
  • /opt/bitnami/apps/edx/edx-platform/lms/envs/

Languages need to be specified with codes Django likes, so a code that is specific on Transifex such as "de_DE" must be specified as "de-de" in these configuration files. See!topic/openedx-translation/vrOpMKzA0kU

  1. Restart lms and cms for reload configuration.

  2. Download the translations, extract and compile.

For edX native installation

$ paver i18n_robot_pull --settings=production

For edX on bitnami

$ cd /opt/bitnami/apps/edx/edx-platform
$ sudo /opt/bitnami/apps/edx/bin/paver.edxapp i18n_robot_pull
  1. Restart lms and cms for reload configuration.