summaryrefslogtreecommitdiff
path: root/talermerchantdemos/httpcommon
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-04-22 14:03:09 +0200
committerFlorian Dold <florian@dold.me>2021-04-22 14:03:09 +0200
commit1576f3ea76329f4897411698016b09843e7d323a (patch)
tree9b5f2a57f1be6d30314fcc669608e367084678bd /talermerchantdemos/httpcommon
parent58a059b94afee29767303b399b48629985a48942 (diff)
downloadtaler-merchant-demos-1576f3ea76329f4897411698016b09843e7d323a.tar.gz
taler-merchant-demos-1576f3ea76329f4897411698016b09843e7d323a.tar.bz2
taler-merchant-demos-1576f3ea76329f4897411698016b09843e7d323a.zip
locale selection
Diffstat (limited to 'talermerchantdemos/httpcommon')
-rw-r--r--talermerchantdemos/httpcommon/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/talermerchantdemos/httpcommon/__init__.py b/talermerchantdemos/httpcommon/__init__.py
index 785494b..2d1a294 100644
--- a/talermerchantdemos/httpcommon/__init__.py
+++ b/talermerchantdemos/httpcommon/__init__.py
@@ -88,6 +88,7 @@ def backend_get(backend_url, endpoint, params, auth_token=None):
return response_json
+babel.localeselector
def get_locale():
parts = request.path.split("/", 2)
if 2 >= len(parts):