Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QLocale ios
Forum Updated to NodeBB v4.3 + New Features

QLocale ios

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 775 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MLGDN
    wrote on last edited by
    #1

    I use the function language() of QLocale to get the language of phone, on android, it is ok, but when my iphone update the system to ios11.0.3, it failed to identify chinese language. I use Qt5.8.0, then I download the Qt5.9.2, it alse failed。can someone help me?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What are you getting now ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MLGDN
        wrote on last edited by
        #3

        qDebug() show
        function country() is QLocale::Country(UnitedStates),
        function language(): QLocale::Language(English),

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          From the looks of it, it's a bug in iOS 11 not in your application. There are many posts you can find where people are having trouble with the language handling of their iDevices under iOS 11.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved