mirror of
https://github.com/django/django.git
synced 2025-10-26 23:26:08 +00:00
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Default Django settings. Override these with settings in the module
|
||||
# pointed-to by the DJANGO_SETTINGS_MODULE environment variable.
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
####################
|
||||
# CORE #
|
||||
####################
|
||||
@@ -28,6 +30,23 @@ TIME_ZONE = 'America/Chicago'
|
||||
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
# Languages we provide translations for out of the base. The
|
||||
# language name should be the utf-8 encoded local name for the
|
||||
# language.
|
||||
LANGUAGES = (
|
||||
('cs', _('Czech')),
|
||||
('de', _('German')),
|
||||
('en', _('English')),
|
||||
('es', _('Spanish')),
|
||||
('fr', _('French')),
|
||||
('gl', _('Galician')),
|
||||
('it', _('Italian')),
|
||||
('pt-br', _('Brazilian')),
|
||||
('ru', _('Russian')),
|
||||
('sr', _('Serbian')),
|
||||
('zh-cn', _('Traditional Chinese')),
|
||||
)
|
||||
|
||||
# Not-necessarily-technical managers of the site. They get broken link
|
||||
# notifications and other various e-mails.
|
||||
MANAGERS = ADMINS
|
||||
|
||||
Reference in New Issue
Block a user