Skip to main content

An Open edX plugin to translate courses

Project description

OL Open edX Course Translations

An Open edX plugin to manage course translations.

Purpose

Translate course content into multiple languages to enhance accessibility for a global audience.

Setup

For detailed installation instructions, please refer to the plugin installation guide.

Installation required in:

  • Studio (CMS)

Configuration

  • Add the following configuration values to the config file in Open edX. For any release after Juniper, that config file is /edx/etc/lms.yml. If you’re using private.py, add these values to lms/envs/private.py. These should be added to the top level. Ask a fellow developer for these values.

    DEEPL_API_KEY: <YOUR_DEEPL_API_KEY_HERE>
  • For Tutor installations, these values can also be managed through a custom Tutor plugin.

Usage

  1. Open the course in Studio.

  2. Go to Tools -> Export Course.

  3. Export the course as a .tar.gz file.

  4. Go to the CMS shell

  5. Run the management command to translate the course:

    ./manage.py cms translate_course --source-language <SOURCE_LANGUAGE_CODE, defaults to `EN`> --translation-language <TRANSLATION_LANGUAGE_CODE i.e. AR> --course-dir <PATH_TO_EXPORTED_COURSE_TAR_GZ>

License

The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.

Please see LICENSE.txt for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ol_openedx_course_translations-0.1.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ol_openedx_course_translations-0.1.1.tar.gz.

File metadata

File hashes

Hashes for ol_openedx_course_translations-0.1.1.tar.gz
Algorithm Hash digest
SHA256 523dffcc8aa33ebabe805a2ecf59c3e007c1d4af165df9ee3f475d8c22c610e9
MD5 8fb93b19fa277c1439a590fd25b1d155
BLAKE2b-256 851f51b410ff865bbf06a827996344913e0f6028363604c79d7dc4ef56fa79fd

See more details on using hashes here.

File details

Details for the file ol_openedx_course_translations-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ol_openedx_course_translations-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ab51cd9434650ef387672523127e48c752dfc683a9073adec59a370aa4779c2
MD5 0f7fd6c511e86c9c153eb53af7e9d9be
BLAKE2b-256 0d8f778b351ad6fad9dbfa327cbc23349ee5b697f438a23a41c703f0c018174a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page