i18n: Extract strings from template files
Previously babel-django.cfg was configured to look up template files only in $TOP_DIR/templates. Templates dierctories in deeper directories are not covered and all template files are located there. As a result, Django templates cannot be translated. Change-Id: I8c662ee2358afbf120464fdffeb72f8515e5a49c
This commit is contained in:
parent
21bab85fb0
commit
3bb4264dab
@ -2,5 +2,5 @@
|
||||
django = django_babel.extract:extract_django
|
||||
|
||||
[python: **.py]
|
||||
[django: templates/**.html]
|
||||
[django: **/templates/**.html]
|
||||
[django: **/templates/**.csv]
|
||||
|
Loading…
Reference in New Issue
Block a user