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

support cmn, yue and etc for languages in QLocale

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9.3, 5.10.0 Alpha, 5.11
    • Fix Version/s: 5.7.0
    • Labels:
      None
    • Commits:
      eb26f2b19babf8cdf2fb53da0cdbca09e85b2b65 02ddf08db808304363454a9ef7cba9b41af3f112

      Description

      http://doc.qt.io/qt-5/qlocale.html#QLocale-1

      language is a lowercase, two-letter, ISO 639 language code (also some three-letter codes),

      https://en.wikipedia.org/wiki/ISO_639

      There are ISO 639-1, ISO 639-2, ISO 639-3, ISO 639-4, ISO 639-5 are still in use. I guess it should be ISO 639-1, that normally uses two-letter language code.

      https://en.wikipedia.org/wiki/ISO_639-3
      https://en.wikipedia.org/wiki/ISO_639_macrolanguage

      At least for Chinese(zh in ISO 639-1, zho in ISO 639-3), I can't use cmn for Mandarin and yue for Yue (Cantonese) in Qt 5.9 code.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes