Enable multi-language

This post HOWTO Enable multiple languages for your Open edX platform
explains how to enable multi-language in a tutor-based edx instance, in two steps

MIDDLEWARE_CLASSES.remove("openedx.core.djangoapps.dark_lang.middleware.DarkLangMiddleware")
tutor local run lms ./manage.py lms shell -c "from openedx.core.djangoapps.dark_lang.models import DarkLangConfig; DarkLangConfig.objects.create(enabled=True, released_languages='fr,en')"

But the first command generates the following error

-bash: syntax error near unexpected token `“openedx.core.djangoapps.dark_lang.middleware.DarkLangMiddleware”’

Could you please help?
Thanks

Hi @nachham! Please read the post again. You are not supposed to do steps 1 AND 2.

Sorry! @regis. You’re right!
The second worked fine, and it is working :slight_smile:

Hello. After doing the second step, I can’t see the languages I specified in the site preferences in the interface, and changing the language of the browser does not work either. Is there anything else I need to do or how can I see the language I want in the site preferences?