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

Docs should recommend uiLanguages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 4.8.3, 5.5.1, 5.6
    • Core: Locales (i18n)
    • None

      Currently docs recommend using QLocale::system().name() to load QTranslator.

      But this wrong. Because there is more powerful method uiLanguages. So, fix your docs, for example, http://qt-project.org/doc/qt-4.8/internationalization.html

      This is really important, for example, uiLanguages on GNU/Linux takes info from LC_MESSAGES (and this is right) but name() doesn't take info from LC_MESSAGES (and this is wrong)

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

            docteam Qt Documentation Team
            safinaskar Askar Safin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes