Commit 64b18448 by Kevin Luo

Include theme locale path for translations

parent 348ef76f
...@@ -60,6 +60,9 @@ def enable_theme(): ...@@ -60,6 +60,9 @@ def enable_theme():
(u'themes/{}'.format(settings.THEME_NAME), theme_root / 'static') (u'themes/{}'.format(settings.THEME_NAME), theme_root / 'static')
) )
# Include theme locale path for django translations lookup
settings.LOCALE_PATHS += (theme_root / 'conf/locale',)
def enable_microsites(): def enable_microsites():
""" """
......
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