translation working in principle with dev settings

This commit is contained in:
Benni Bärmann 2022-01-25 11:42:13 +01:00
parent aec2fdac16
commit b94e471ae4
1 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from pathlib import Path
import os
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@ -120,7 +121,7 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/3.1/topics/i18n/
# LANGUAGE_CODE = 'de'
LANGUAGE_CODE = 'de'
TIME_ZONE = 'UTC'
@ -130,6 +131,7 @@ USE_L10N = True
USE_TZ = True
LOCALE_PATHS = ( os.path.join(BASE_DIR, 'locale'), )
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.1/howto/static-files/