X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/d0f0e1412cc42d366b234e798dfb68feed05d751..d555d988764995ea1f9f5ece46f453a66f09b334:/src/edumed/settings/locale.py?ds=sidebyside diff --git a/src/edumed/settings/locale.py b/src/edumed/settings/locale.py new file mode 100644 index 0000000..cfe4cc1 --- /dev/null +++ b/src/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'), +)