Skip to content
Snippets Groups Projects
Commit 3179fcbd authored by borzechof99's avatar borzechof99 :whale2:
Browse files

Set Default Language and Fallback Language

parent 8f39778d
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/3.2/topics/i18n/
LANGUAGE_CODE = "en-us"
LANGUAGE_CODE = "de"
TIME_ZONE = "UTC"
......@@ -127,8 +127,11 @@ LANGUAGES = (
("en", gettext("English")),
)
# Modeltranslations Default Language != Djangos Default languages (see LANGUAGE_CODE above)
MODELTRANSLATION_DEFAULT_LANGUAGE = "de"
MODELTRANSLATION_FALLBACK_LANGUAGES = ("de",)
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.2/howto/static-files/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment