X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/9ae83685ae10ad4d0e6f6091413b1d2488eaf478..695023a09f7ed62d3a414dfc7c7b909fd0d1171b:/edumed/settings/locale.py?ds=sidebyside diff --git a/edumed/settings/locale.py b/edumed/settings/locale.py new file mode 100644 index 0000000..cfe4cc1 --- /dev/null +++ b/edumed/settings/locale.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +import os.path + +from .paths import PROJECT_DIR + +LANGUAGES = ( + ('pl', u'polski'), + ('en', u'English'), +) + +# Local time zone for this installation. Choices can be found here: +# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name +# although not all choices may be available on all operating systems. +# On Unix systems, a value of None will cause Django to use the same +# timezone as the operating system. +# If running in a Windows environment this must be set to the same as your +# system time zone. +TIME_ZONE = None + +# Language code for this installation. All choices can be found here: +# http://www.i18nguy.com/unicode/language-identifiers.html +LANGUAGE_CODE = 'pl' + +# If you set this to False, Django will make some optimizations so as not +# to load the internationalization machinery. +USE_I18N = True + +# If you set this to False, Django will not format dates, numbers and +# calendars according to the current locale. +USE_L10N = True + +# If you set this to False, Django will not use timezone-aware datetimes. +USE_TZ = True + +CONTRIB_LOCALE_APPS = ( + 'pybb', +) +LOCALE_PATHS = ( + os.path.join(PROJECT_DIR, 'edumed/locale-contrib'), +)