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. Qt lingual translation on mobile (ios)
Qt 6.11 is out! See what's new in the release blog

Qt lingual translation on mobile (ios)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 399 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
    Rubin Stove
    wrote on last edited by
    #1

    Hi,

    I trying a simple hell world qt quick app on ios & android.
    I did the following:

    1. Took the most basic hello world qt quick project with "Hello World" written with qsTr() of course

    2. Ran lupdate on main.qml & created main_no.ts for norwegian

    3. Opened main_no.ts in linguist app. Gave the translation for "Hello World" as "Hei Verden"

    4. Saved main_no.ts

    5. Ran lrelease on main_no.ts. This created main_no.qm

    6. Opened my project's .pro file and added the following
      TRANSLATIONS += main_no.ts

    7. Rebuilt my app

    8. Ran it on iPhone where the language was set to english

    9. App launched. The text "Hello World" showed up. All great untill now

    10. Next I changed the language to Norwegian ("Norsk Bokmal").

    11. Relaunched the app & it crashed !!!!!

    After this it keeps crashing on every launch even if I change the language back to English.

    Can anyone please tell what is wrong that I am doing ?

    Thanks a many in advance.

    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