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

QLocale - add static function to enable the programmer to add country/language pairs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.6.2
    • Core: Locales (i18n)
    • None

    Description

      At the moment there are 2 unespected cases:

      • several valid QLocale::Country don't have valid QLocale::Language
      • several valid QLocale::Language don't have valid QLocal::Country

      So for those it is not possible to create a valid QLocale.

      The idea is that the programmer can add pairs to the QLocale so, if needed, it is possible to get a valid QLocale for any valid Country and Language.

      This new feature would also set up a matching QLocale::name() for the new QLocale created.

      Attachments

        1. main.cpp
          1 kB
        2. main.cpp
          0.7 kB
        3. ZLocale.h
          14 kB

        Issue Links

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

          Activity

            People

              dzyubenk Denis Dzyubenko (Inactive)
              sanonymous Nokia Qt Support (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes