Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. when ts file get updated but translated word does not get reflect?
Forum Updated to NodeBB v4.3 + New Features

when ts file get updated but translated word does not get reflect?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 244 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by
    #1

    I have updated .ts file using Qt Linguist. But when i am running qt application that new translated string does not get reflected.

    Actually old translated string come but newly added translated string does not get reflected.

    What is reason behind that ?

    Is i need to update .qm file ? if yes then how i can update it ?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Qt-embedded-developer said in when ts file get updated but translated word does not get reflect?:

      Is i need to update .qm file ? if yes then how i can update it ?

      As written in the documentation you need to run lrelease to create a qm file from a ts file.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      Q 1 Reply Last reply
      4
      • Christian EhrlicherC Christian Ehrlicher

        @Qt-embedded-developer said in when ts file get updated but translated word does not get reflect?:

        Is i need to update .qm file ? if yes then how i can update it ?

        As written in the documentation you need to run lrelease to create a qm file from a ts file.

        Q Offline
        Q Offline
        Qt embedded developer
        wrote on last edited by
        #3

        @Christian-Ehrlicher thanks i got the translation.

        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