Bug 417795 - Most of the currency formats for CH are wrong
Summary: Most of the currency formats for CH are wrong
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_formats (show other bugs)
Version: 5.14.5
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-17 17:16 UTC by Joerg H.
Modified: 2020-03-06 13:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg H. 2020-02-17 17:16:49 UTC
SUMMARY
Most of the proposed currency formats for Switzerland are wrong since they use a decimal comma instead of a decimal point. 

STEPS TO REPRODUCE
1. System Settings > Formats > Numeric, Currency and Time Formats
2. Select e.g. fr_CH (= Western Switzerland, aka Romandie) or de_CH.
3. Observe the number displayed under "Currency"

OBSERVED RESULT
For fr_CH, the currency is shown as "24,00 CHF"
For de_CH, the currency is shown as "CHF 24.00"

EXPECTED RESULT
For fr_CH, the currency should be "24.00 CHF"
For de_CH, the currency should be "Fr. 24.00"

For currency, Switzerland uses a decimal point => Rules 546 and 514 in the PDF at https://www.bk.admin.ch/bk/de/home/dokumentation/sprachen/hilfsmittel-textredaktion/schreibweisungen.html 

SOFTWARE/OS VERSIONS
Debian Buster
KDE Frameworks 5.54.0
Qt 5.11.3 (built against 5.11.3)
The xcb windowing system

ADDITIONAL INFORMATION
The problem could be solved easily if there were a means to (re-)introduce custom formats ... as was the case in previous KDE versions.
Comment 1 Christoph Feck 2020-03-06 13:49:58 UTC
The locale information is provided by the CLDR database inside Qt.