Browse Source

[core] Trigger l10n

Romain Rigaux 12 năm trước cách đây
mục cha
commit
408c7c5c07
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      desktop/core/src/desktop/settings.py

+ 5 - 0
desktop/core/src/desktop/settings.py

@@ -169,6 +169,11 @@ TEMPLATE_CONTEXT_PROCESSORS = (
   'desktop.context_processors.app_name',
 )
 
+# Activate l10n
+LOCALE_PATHS = (
+  get_desktop_root('../apps/beeswax/src/beeswax/locale'),
+)
+
 
 # Desktop doesn't use an auth profile module, because
 # because it doesn't mesh very well with the notion