taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit ee3e5aa7a92026a3ed1de7a6aecbc29c2be79dcb
parent ff323787f961706f49c19810d09b16f0c1f518f3
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 28 Aug 2021 17:06:28 +0200

add other languages to cache

Diffstat:
Mtalermerchantdemos/blog/content.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talermerchantdemos/blog/content.py b/talermerchantdemos/blog/content.py @@ -138,7 +138,7 @@ def add_from_html(resource_name, lang): for l in listdir(resource_filename("talermerchantdemos", "blog/articles/")): # Filter by active languages, otherwise this takes quite a while to load... - if l in {"en", "de", "sv", "es"}: + if l in {"en", "ar", "zh", "fr", "hi", "it", "ja", "ko", "pt", "pt_BR", "ru", "tr", "de", "sv", "es"}: LOGGER.info("importing %s" % l) for a in listdir(resource_filename("talermerchantdemos", "blog/articles/" + l)): add_from_html("blog/articles/" + l + "/" + a, l)