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.0.tar.gz (7.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.0.tar.gz.

File metadata

File hashes

Hashes for ol_openedx_course_translations-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3e9fc6329f524dfdf3ee4a133005330ae5540418288ad854726ea7f314dd0f12
MD5 b1850ed84ab77c26a062e80c4894a77d
BLAKE2b-256 eefc700ccca3b9152157b3742e8d7f2f53426156892831c9d998b14cf2960545

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ol_openedx_course_translations-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0992b8d7c47c8bfe4d45c0c6fd9fc86b82ee97d18bbc553ab55f3a508f982af
MD5 8e044de679aff5af9b3f8fc20d05bef2
BLAKE2b-256 d57a4fbd72fe5f778580df00053ce050ce9d914d3144eca32875b00a26204a90

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