diff options
Diffstat (limited to 'example_project/settings.py')
| -rw-r--r-- | example_project/settings.py | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/example_project/settings.py b/example_project/settings.py index 983339ee5..40aa25066 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -4,6 +4,8 @@  import os +from django.utils.translation import gettext_lazy as _ +  DEBUG = False  DEBUG_TOOLBAR = False  TEMPLATE_DEBUG = DEBUG @@ -52,6 +54,11 @@ USE_I18N = True  # If you set this to False, Django will not format dates, numbers and  # calendars according to the current locale  USE_L10N = True +LANGUAGES = ( +    ('fr', _('Français')), +    ('en', _('Anglais')), +) +DEFAULT_LANGUAGE = 1  # Absolute path to the directory that holds media.  # Example: "/home/media/media.lawrence.com/" | 
