summaryrefslogtreecommitdiff
path: root/talermerchantdemos/httpcommon
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/httpcommon')
-rw-r--r--talermerchantdemos/httpcommon/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/talermerchantdemos/httpcommon/__init__.py b/talermerchantdemos/httpcommon/__init__.py
index c315929..c11cca9 100644
--- a/talermerchantdemos/httpcommon/__init__.py
+++ b/talermerchantdemos/httpcommon/__init__.py
@@ -94,6 +94,10 @@ def get_locale():
# Totally unexpected path format, do not localize
return "en"
lang = parts[1]
+ if lang == "static":
+ # Static resource, not a language indicator.
+ # Do not localize then.
+ return "en"
return lang