From 76c591dbe5504e4cfcd321641ffb081579c19d32 Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Thu, 3 Nov 2005 07:53:22 +0000 Subject: [PATCH] i18n: fixed the LANGUAGES variable to contain language codes (instead of locale codes) and fixed a wrong language name git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1059 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/global_settings.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index ec3fdff6fd..70d38d6993 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -34,16 +34,17 @@ LANGUAGE_CODE = 'en-us' # 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')), + ('pt-br', _('Brazilian')), ('ru', _('Russian')), - ('sr', _('Serbic')), - ('cs', _('Czech')), + ('sr', _('Serbian')), + ('zh-cn', _('Traditional Chinese')), ) # Not-necessarily-technical managers of the site. They get broken link