ironic-ui/babel-django.cfg
Akihiro Motoki 3bb4264dab 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
2019-03-29 18:41:00 +09:00

7 lines
136 B
INI

[extractors]
django = django_babel.extract:extract_django
[python: **.py]
[django: **/templates/**.html]
[django: **/templates/**.csv]