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

Include QLocale::system() in matchingLocales() return lists

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.6.0
    • 6.4
    • Core: Locales (i18n)
    • None
    • All
    • 3
    • 916008a50 (dev), 501a5fbac (dev)
    • Foundation Sprint 74, Foundation Sprint 75

    Description

      QLocale::matchingLocales() only returns matches from the CLDR database; it does not include the current system locale as a match, even if it does indeed match.
      Check for any possible adverse impacts of including it; if there are none, include it.
      If there are adverse impacts, consider adding some way to control whether it is to be included or not, if it matches.

      Once that's resolved, check other modules for uses of matchingLocales() and amend them to take account of this change; some of them may be, like qttools/src/shared/qtpropertybrowser/qtpropertymanager.cpp, be including the system locale explicitly themselves (so we need to avoid duplicating it); others may be cases where the system locale should be avoided.

      Attachments

        For Gerrit Dashboard: QTBUG-106644
        # Subject Branch Project Status CR V

        Activity

          People

            mate Máté Barany
            Eddy Edward Welbourne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes