Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.14.0, 5.15
-
None
Description
QLocale::formattedDataSize() naively assumes that we can just use number + space + unit as the format string. This is, of course, not true in all locales - some put the number after the unit, most obviously. CLDR has the right formatting strings to tell us how to do this, but we're throwing that information away when we extract unit names from CLDR. We should, instead, do proper number formatting, just as we do for currencies and other formatted texts.
Attachments
Issue Links
- covers
-
QTBUG-103482 QLocale::formattedDataSize() doesn't give option to control number format
- Open
- is duplicated by
-
QTBUG-115595 qlocale::formattedDataSize() shows incorrectly "858 tavut" in Finnish
- Closed
-
QTBUG-91351 QLocale::formattedDataSize() is implemented wrongly
- Closed
- relates to
-
QTBUG-61473 Teach QLocale's CLDR infrastructure about singular, plural, many, few &c.
- Open
-
QTBUG-94358 Upgrade CLDR for Unicode 14.0
- Closed
-
QTBUG-79902 QLocale: make fuller and more faithful use of the CLDR data
- Open
-
QTBUG-81054 Format percentages distinctly from currencies and ordinary numbers
- Open
-
QTBUG-81344 Clean up the CLDR-digestion python scripts
- Closed