From bc09d12d8b2c513ffa3ac8dfbede22c0ddb5e6f8 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 10 Oct 2022 11:47:14 +0000 Subject: [PATCH] Add Polish as a supported language --- calsocial/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calsocial/__init__.py b/calsocial/__init__.py index f2085bd..912b3db 100644 --- a/calsocial/__init__.py +++ b/calsocial/__init__.py @@ -38,7 +38,7 @@ def get_locale(): Selects the best locale based on values sent by the browser. """ - supported_languages = ['en', 'hu'] + supported_languages = ['en', 'hu', 'pl'] if 'l' in request.args and request.args['l'].lower() in supported_languages: return request.args['l'].lower()