Skip to content

Localization (translation) files for Open edX, downloaded from Transifex

License

Notifications You must be signed in to change notification settings

edSPIRIT/openedx-i18n

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open edX i18n

This project contains dumps of the translation/localization files from Transifex for the Open edX project. It allows you to download internationalization (i18n) files without a Transifex account.

The content of this project is of little use in itself. In particular, it is used in Tutor to package i18n files into the Open edX Docker image.

When required, .po files were manually patched to fix compilation issues.

Requirements

Configuration

You will need a Transifex API token to download new translation strings. First, obtain a token in your Transifex account: https://www.transifex.com/user/settings/api/

Then, add the token to the transifexrc file in this repository:

[https://www.transifex.com]
rest_hostname = https://rest.api.transifex.com
token = your-token

This configuration file will automatically be bind-mounted in the Docker container at runtime.

Usage

If you are feeling really confident, you can try to update translations in one go:

make all

Note that you will need a Transifex API token to download translations.

It is quite likely that the downloaded transifex files will contain errors. After downloading the translation files (make download), you will then have to detect the errors by running:

make validate

You will then have to fix the errors manually in each file. It is recommended to also fix them in Transifex.

After all errors have been fixed, you may resume the processing:

make compile

License

This code and all translation files are licensed under the terms of the AGPL.

About

Localization (translation) files for Open edX, downloaded from Transifex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 55.0%
  • Makefile 36.2%
  • Python 8.8%