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

Simplified Chinese language is not supported in Qt 4.7.2

    XMLWordPrintable

Details

    • d4250d9e1d4ed23e0cf41e6ce35d9dda6323455c

    Description

      The problem has been reported to be solved in the bug report:

      http://bugreports.qt.nokia.com/browse/QTBUG-13917

      However, currently, Simplified Chinese language variant "zh_CN" is not supported by default. The solution provided in the http://bugreports.qt.nokia.com/browse/QTBUG-13917 works if a developer set the following:

      // For other lanague, the following is not needed.
      SYMBIAN_SUPPORTED_LANGUAGES += zh_CN
      SYMBIAN_LANG.zh_CN = 31

      CONFIG += localize_deployment

      For Chinese phone in People's Republic of China, the locale is returned with "zh_CN".

      QString locale = QLocale::system().name();
      qDebug() << "Locale: " << locale;
      QTranslator translator;
      translator.load(QString("helloworld_") + locale);

      I think it is necessary to verify it for Traditional Chinese both in Hong Kong and Taiwan. The both have different lanuage code "29" and "30"

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            liuxg Liu XiaoGuo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes