From fe5b547a25a69afe5b6f06fa48065f6af10d012a Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 19 Mar 2024 10:58:17 +0100 Subject: [PATCH] change languiage_code in settins --- trustchain_idhub/settings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/trustchain_idhub/settings.py b/trustchain_idhub/settings.py index 8ff251b..5c42b66 100644 --- a/trustchain_idhub/settings.py +++ b/trustchain_idhub/settings.py @@ -195,14 +195,15 @@ MESSAGE_TAGS = { LOCALE_PATHS = [ os.path.join(BASE_DIR, 'locale'), ] -LANGUAGE_CODE="en" +# LANGUAGE_CODE="en" # LANGUAGE_CODE="es" -# LANGUAGE_CODE="ca" +LANGUAGE_CODE="ca" gettext = lambda s: s LANGUAGES = ( ('de', gettext('German')), ('en', gettext('English')), ('ca', gettext('Catalan')), + ('es', gettext('Spanish')), ) USE_I18N = True USE_L10N = True