Commit 57f6e57b88c62a4f6984c5f020d03412bd9ea6a3
1 parent
ef766ef1
Exists in
master
and in
34 other branches
Add custom locale configuration
Signed-off-by: Gustavo Jaruga <darksshades@gmail.com> Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
colab/settings.py
... | ... | @@ -328,6 +328,8 @@ for app_name, app in COLAB_APPS.items(): |
328 | 328 | STATICFILES_DIRS += (template.get('staticdir'),) |
329 | 329 | if template.get('templatesdir'): |
330 | 330 | TEMPLATE_DIRS += (template.get('templatesdir'),) |
331 | + if template.get('localesdir'): | |
332 | + LOCALE_PATHS += (template.get('localesdir'),) | |
331 | 333 | |
332 | 334 | import sys |
333 | 335 | sys.path.insert(0, '/etc/colab/') | ... | ... |