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

Docs should recommend uiLanguages

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes