Enabling the header language selector in Open edX

To set up a multi language site with the language selector in the header, you need to do the following:

  1. Set up a DarkLang config with the languages you want released:
  2. Enable the header language selector through SiteConfiguration:
{"SHOW_HEADER_LANGUAGE_SELECTOR":true}
  1. That’s it, you should see it below the page’s header on LMS and Studio (if the language selector section was not removed with theme overrides).

This is not the best way of having a multi-language site, since courses content and metadata don’t have intl support, but it’s an option for small instances.

2 Likes

Thank you for saving me from the pain of changing language code in lms.yml

If you’re doing so just to check translations, I think a better way is to visit http://localhost:18000/update_lang/ and enter the language code there.

1 Like

I will give it a go :slight_smile: thanks

2 posts were split to a new topic: OpenCraft Hosting - Enabling language selection