Fundraising in PDF.
[wolnelektury.git] / src / wolnelektury / settings / locale.py
1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3 #
4 from os import path
5 from .paths import PROJECT_DIR
6
7 # If you set this to False, Django will make some optimizations so as not
8 # to load the internationalization machinery.
9 USE_I18N = True
10 USE_L10N = True
11
12 LOCALE_PATHS = [
13     path.join(PROJECT_DIR, 'locale')
14 ]
15
16 # Language code for this installation. All choices can be found here:
17 # http://www.i18nguy.com/unicode/language-identifiers.html
18 LANGUAGE_CODE = 'pl'
19
20
21 LANGUAGES = tuple(sorted([
22     ('pl', 'polski'),
23     ('de', 'Deutsch'),
24     ('en', 'English'),
25     ('lt', 'lietuvių'),
26     ('fr', 'français'),
27     ('ru', 'русский'),
28     ('es', 'español'),
29     ('uk', 'українська'),
30     # ('jp', '日本語'),
31     ('it', 'italiano'),
32 ], key=lambda x: x[0]))