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:
Akihiro Motoki 2019-03-29 18:38:10 +09:00
parent 21bab85fb0
commit 3bb4264dab
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@
django = django_babel.extract:extract_django
[python: **.py]
[django: templates/**.html]
[django: **/templates/**.html]
[django: **/templates/**.csv]