diff -r aab788e8a725 -r 0c9b09f694f3 service.py --- a/service.py Fri Sep 15 22:43:33 2017 +0300 +++ b/service.py Sun Sep 17 20:47:14 2017 +0300 @@ -59,7 +59,7 @@ if request.args.get(language_name) is not None: return language_name else: - return 'fi' + return request.accept_languages.best_match(tr.languages) def sign(schedule_entry): from math import ceil