rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git] / wolnelektury / settings / locale.py
1 # -*- coding: utf-8 -*-
2 from os import path
3 from settings.paths import PROJECT_DIR
4
5 # If you set this to False, Django will make some optimizations so as not
6 # to load the internationalization machinery.
7 USE_I18N = True
8
9 LOCALE_PATHS = [
10     path.join(PROJECT_DIR, 'locale-contrib')
11 ]
12
13 # Language code for this installation. All choices can be found here:
14 # http://www.i18nguy.com/unicode/language-identifiers.html
15 LANGUAGE_CODE = 'pl'
16
17 gettext = lambda s: s
18
19 LANGUAGES = tuple(sorted([
20     ('pl', u'polski'),
21     ('de', u'Deutsch'),
22     ('en', u'English'),
23     ('lt', u'lietuvių'),
24     ('fr', u'français'),
25     ('ru', u'русский'),
26     ('es', u'español'),
27     ('uk', u'українська'),
28 #    ('jp', u'日本語'),
29 #    ('it', u'italiano'),
30 ], key=lambda x: x[0]))