From 49de8deaa22bdbaae7d69ac4191150f3ae02cfc6 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Tue, 6 Feb 2018 01:09:38 +0900 Subject: [PATCH] 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". Change-Id: I11bf9397c7feea0ec3c7fef9a94963fe1c38010b Closes-Bug: #1747453 --- babel-django.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel-django.cfg b/babel-django.cfg index ad09d34..e78d6c0 100644 --- a/babel-django.cfg +++ b/babel-django.cfg @@ -2,4 +2,4 @@ django = django_babel.extract:extract_django [python: **.py] -[django: templates/**.html] +[django: **/templates/**.html]