Translations working in templates

This commit is contained in:
Mouse Reeve
2021-02-27 16:18:24 -08:00
parent b2e431daed
commit 2d79a52133
7 changed files with 11 additions and 11 deletions

View File

@ -30,11 +30,6 @@ EMAIL_USE_TLS = env('EMAIL_USE_TLS', True)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
LOCALE_PATHS = [os.path.join(BASE_DIR, 'locale'),]
LANGUAGES = [
('en-US', _('English')),
('en-beep', _('Beep')),
]
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/
@ -143,6 +138,11 @@ AUTH_PASSWORD_VALIDATORS = [
# https://docs.djangoproject.com/en/2.0/topics/i18n/
LANGUAGE_CODE = 'en-us'
LANGUAGES = [
('en-us', _('English')),
('en-beep', _('Beep')),
]
TIME_ZONE = 'UTC'