Add Polish as a supported language

This commit is contained in:
Gergely Polonkai 2022-10-10 11:47:14 +00:00
parent 7e7bb184ad
commit bc09d12d8b
1 changed files with 1 additions and 1 deletions

View File

@ -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()