Commit 2870b2cb authored by Arthur's avatar Arthur Committed by Jamesie Pic

ajout mecanisme traduction

parent 02aff85b
......@@ -50,11 +50,17 @@ I18N_SUBSITES = {
'SITENAME': 'Site officiel de Memopol',
'LOCALE': 'fr',
'SITEURL': '/fr',
'DEFAULT_CATEGORY'
},
}
#Arthur 16/10/2016 Je ne suis pas sur de l'utilite
I18N_UNTRANSLATED_ARTICLES = 'remove'
I18N_UNTRANSLATED_PAGES = 'remove'
I18N_GETTEXT_LOCALEDIR = 'locale/'
I18N_GETTEXT_DOMAIN = 'blog'
languages_lookup = {
'en': 'English',
'fr': 'Français',
......@@ -76,6 +82,7 @@ JINJA_FILTERS = {
'my_ordered_items': my_ordered_items,
}
JINJA_EXTENSIONS = ['jinja2.ext.i18n']
#Theme
THEME = os.path.join(os.path.dirname(__file__), 'theme')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment