blazar-dashboard/babel-django.cfg
Akihiro Motoki e5eed1e89d Correct django template pattern in babel-django.cfg
Currently strings in Django templates cannot be translated
because the current recommended file pattern "templates/**.html"
does not match Django templates in subdirectories.
This needs to be "**/templates/**.html".

Translation is not enabled for blazar-dashboard but it is worth
fixed to avoid unnecessary problems when translation is enabled.

Change-Id: I74c741679c3f7bec28f053fc9704ff8d5bc5c536
Closes-Bug: #1747453
2018-02-14 01:00:14 +00:00

6 lines
106 B
INI

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