X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c26ab6ee15974c1133a6d08c459b51199185f25f..7874f05f4b3c56d0623ac6f87981249c411b8302:/wolnelektury/settings/locale.py diff --git a/wolnelektury/settings/locale.py b/wolnelektury/settings/locale.py index 7f9e90574..5069051f9 100644 --- a/wolnelektury/settings/locale.py +++ b/wolnelektury/settings/locale.py @@ -1,10 +1,11 @@ # -*- coding: utf-8 -*- from os import path -from settings.paths import PROJECT_DIR +from .paths import PROJECT_DIR # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = True +USE_L10N = True LOCALE_PATHS = [ path.join(PROJECT_DIR, 'locale-contrib') @@ -26,5 +27,5 @@ LANGUAGES = tuple(sorted([ ('es', u'español'), ('uk', u'українська'), # ('jp', u'日本語'), -# ('it', u'italiano'), + ('it', u'italiano'), ], key=lambda x: x[0]))