From 53ab2c9c4c1581de18264a25d8c79e7edfdc4ef6 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Tue, 6 Feb 2018 01:07:28 +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: I877e0a3703fa13b52e1df79f20c580b2604e7d1c 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 e7ee76ae..db1c9d55 100644 --- a/babel-django.cfg +++ b/babel-django.cfg @@ -2,5 +2,5 @@ django = django_babel.extract:extract_django [python: **.py] -[django: templates/**.html] +[django: **/templates/**.html] [django: **/templates/**.csv]