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
When setting my user account’s language to de-informal, the configured region (CH) is no longer honored for formatting money values, e.g. in the orders page.
Expected behaviour
No response
Steps to reproduce
Configure region to CH
Configure language to de; orders page lists “CHF 97.56” (with dots)
Configure language to de-informal; orders page lists “97,56 CHF” (with commas)
Looking at the code, I think the problem is that the language function treats “informal” as a region:
No, the region will not be added to the language in the first place if de-informal is used since "informal" is implemented like a region (think de-de, de-at, de-ch and de-informal)
Problem and impact
When setting my user account’s language to de-informal, the configured region (CH) is no longer honored for formatting money values, e.g. in the orders page.
Expected behaviour
No response
Steps to reproduce
Looking at the code, I think the problem is that the language function treats “informal” as a region:
pretix/src/pretix/base/i18n.py
Lines 146 to 154 in 6bf23b0
Screenshots
No response
Link
No response
Browser (software, desktop or mobile?) and version
No response
Operating system, dependency versions
No response
Version
2024.2
The text was updated successfully, but these errors were encountered: