Use simpler language code

This commit is contained in:
Alexandre Iooss 2019-07-08 11:16:29 +02:00
parent 974e0fe48f
commit e325bac823
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 3 additions and 3 deletions

View File

@ -109,11 +109,11 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/ # https://docs.djangoproject.com/en/2.2/topics/i18n/
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'en'
LANGUAGES = [ LANGUAGES = [
('en-us', _('English')), ('en', _('English')),
('fr-fr', _('French')), ('fr', _('French')),
] ]
TIME_ZONE = 'Europe/Paris' TIME_ZONE = 'Europe/Paris'