Translations working in templates
This commit is contained in:
@ -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'
|
||||
|
||||
|
Reference in New Issue
Block a user