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: