You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
→ there is no territory information stored. Please store it additionally.
I provide a de locale directory which is valid for de-DE and de-AT. I want to pass the exact value back which the client provided in the Accept-Language header.
Edit: there is some assertion error. Maybe this can also be changed into a real exception?
>>> tornado.locale.Locale.get('en_US')
<tornado.locale.CSVLocale object at 0x7f333cc632e8>
>>> tornado.locale.Locale.get('en')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/tornado/locale.py", line 264, in get
assert code in _supported_locales
AssertionError
The text was updated successfully, but these errors were encountered:
→ there is no territory information stored. Please store it additionally.
I provide a
de
locale directory which is valid forde-DE
andde-AT
. I want to pass the exact value back which the client provided in theAccept-Language
header.→ why doesn't this raise some exception?
see also #1955 and #1858
Edit: there is some assertion error. Maybe this can also be changed into a real exception?
The text was updated successfully, but these errors were encountered: