Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87291

Research CLDR v37's new measurement / unit representation options

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P5: Not important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0 Alpha
    • Fix Version/s: None
    • Component/s: Core: Locales (i18n)
    • Labels:
      None
    • Platform/s:
      All

      Description

      CLDR v37 expands, among other things, the range of ways a locale can specify its preferences for what units to use and how to represent those units, e.g.

      a program (or database) could use 1.88 meters internally, but then for person-height have that measurement convert to 6 foot 2 inches for en_US and to 188 centimeters for de_CH.

      At present, QLocale only crudely supports a choice between SI and the en_US vs en_GB systems of archaic units. Refinements in how SI is expressed (e.g., in the example above, 1.88 m vs 188 cm) are potentially of general importance.
      However, present users of QLocale::measurementSystem() or its type are predominantly propagation of such values to other potentially affected classes and relatively trivial uses such as whether to use "points" based on mm or inch in fonts, IIUC. So this is decidedly low priority.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              cnn Qt Core & Network
              Reporter:
              Eddy Edward Welbourne
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes