Set languages list manually.

This commit is contained in:
Christopher C. Wells 2019-04-13 20:09:55 -07:00
parent 0e4d80dab0
commit d52694e93e
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
import os
from django.utils.translation import gettext_lazy as _
from dotenv import load_dotenv, find_dotenv
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
@ -123,6 +124,11 @@ LOCALE_PATHS = [
os.path.join(BASE_DIR, "locale"),
]
LANGUAGES = [
('en', _('English')),
('fr', _('French')),
]
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.11/howto/static-files/