diff --git a/orchestra/contrib/musician/mixins.py b/orchestra/contrib/musician/mixins.py index 4c98f278..c0189275 100644 --- a/orchestra/contrib/musician/mixins.py +++ b/orchestra/contrib/musician/mixins.py @@ -6,6 +6,7 @@ from django.views.generic.base import ContextMixin from orchestra import get_version from . import api +from .settings import LANGUAGES from .auth import SESSION_KEY_TOKEN @@ -29,7 +30,8 @@ class CustomContextMixin(ContextMixin): context.update({ 'services_menu': services_menu, 'version': get_version(), - 'languages': settings.LANGUAGES, + # 'languages': settings.LANGUAGES, + 'languages': LANGUAGES, }) return context diff --git a/orchestra/contrib/musician/settings.py b/orchestra/contrib/musician/settings.py index 0836a2eb..2a113cd6 100644 --- a/orchestra/contrib/musician/settings.py +++ b/orchestra/contrib/musician/settings.py @@ -70,3 +70,9 @@ MUSICIAN_WEBSITES_ENABLE_GROUP_DIRECTIVE = Setting('MUSICIAN_WEBSITES_ENABLE_GRO ), help_text="Valid groups: HTTPD, ModSecurity, SSL, SaaS" ) + +LANGUAGES = [ + ('en', 'English'), + ('es', 'Spanish'), + ('ca', 'Catalan'), +] \ No newline at end of file