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

QLocale::system() disregards LC_MESSAGES and other LC_* variables on X11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.8.x, 5.1.0
    • 4.3.2
    • Core: Locales (i18n)
    • None
    • 5a77323a1c0de27b05a545c3e446f3b288d28971,e5205aa2470018fe6ab8b1b01a30355f7aca1f62

      On X11, The following priorities are recommended (see sources below) when trying to retrieve the system's locale environment variables:

      1. LC_ALL
      2. Other LC_* variables (LC_COLLATE, LC_CTYPE, LC_MESSAGES etc.)
      3. LANG

      However, of the other LC_* variables, Qt only considers LC_NUMERIC. Qt should consider other LC_* variables as well.

      Sources:

      http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html
      http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.nls/doc/nlsgdrf/locale_env.htm

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

            dzyubenk Denis Dzyubenko (Inactive)
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes