Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. App is deployed but translation does not work on iOS (but works in android)
QtWS25 Last Chance

App is deployed but translation does not work on iOS (but works in android)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 375 Views
  • 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.
  • R Offline
    R Offline
    Ricardos
    wrote on last edited by
    #1

    Hi

    I have a problem with translations in iOS

    My app is written in EN and i've set a .qm file to translate to PT (portuguese)

    The app works perfectly ok in android, but translations do not work in IOS.

    I'm using Xcode11 on macOS Catalina
    Qt 5.14.0
    I'm running on a iOS simulator

    Any ideas what can be?

    https://github.com/Ricardosgeral/17cng2020_x (here you can see the pro file and main.cpp

    help is appreciated
    Ricardo

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

      Hi,

      You should check the return value of QLocale().

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

      R 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        You should check the return value of QLocale().

        R Offline
        R Offline
        Ricardos
        wrote on last edited by
        #3

        @SGaist thanks for your reply. How do I do that? Using qdebug()?

        https://github.com/Ricardosgeral/17cng2020_x/blob/master/cpp/main.cpp

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Ricardos
          wrote on last edited by
          #4

          I solved only by stepping back to qt 5.13.2
          With qt 5.14 does not work. Don't know why

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

            Strange, there might be a regression. You should check the bug report system to see if there's something related. If not, then please consider opening a new report providing a minimal compilable example that shows that behaviour.

            Before that, IIRC, Qt 5.14.1 is around the corner if not there already released, you should try with it first.

            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