add de/fr/it translation to production and development, add unfinished pl translation to development only

This commit is contained in:
Thomas Waldmann 2014-07-29 19:11:54 +02:00
parent 470b5a5018
commit 9b4e27afca
2 changed files with 8 additions and 1 deletions

View File

@ -379,4 +379,7 @@ MESSAGE_TAGS = {
gettext_noop = lambda s: s gettext_noop = lambda s: s
LANGUAGES = ( LANGUAGES = (
('en', gettext_noop('English')), ('en', gettext_noop('English')),
('de', gettext_noop('German')),
('fr', gettext_noop('French')),
('it', gettext_noop('Italian')),
) )

View File

@ -33,6 +33,10 @@ INSTALLED_APPS += (
# https://docs.djangoproject.com/en/dev/topics/i18n/translation/#message-files and # https://docs.djangoproject.com/en/dev/topics/i18n/translation/#message-files and
# https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference # https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference
LANGUAGES += ( LANGUAGES += (
('fr', gettext_noop('French')), # note: for the development install we also offer unfinished translations:
('en', gettext_noop('English')),
('de', gettext_noop('German')), ('de', gettext_noop('German')),
('fr', gettext_noop('French')),
('it', gettext_noop('Italian')),
('pl', gettext_noop('Polish')),
) )