Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. how to remove obsolete entries from .ts linguist file
Forum Updated to NodeBB v4.3 + New Features

how to remove obsolete entries from .ts linguist file

Scheduled Pinned Locked Moved Solved Language Bindings
3 Posts 2 Posters 8.3k 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.
  • L Offline
    L Offline
    Lonovo
    wrote on last edited by
    #1

    Hi there,
    We have a project that has gone through a lot of changes. There are .ts files that were created early on and we are maintaining it for multiple languages.

    The problem is during the time we have added and removed windows and forms to the project, but all texts related to those removed windows still exist in the .ts file.

    This has become a big issue on maintaining the files.

    Can anyone shed some light on how to get rid of those obsolete text entries?

    We are using QT4.7 at the moment.

    Thanks in advance,
    Saeed

    J.HilkJ 1 Reply Last reply
    1
    • L Lonovo

      Hi there,
      We have a project that has gone through a lot of changes. There are .ts files that were created early on and we are maintaining it for multiple languages.

      The problem is during the time we have added and removed windows and forms to the project, but all texts related to those removed windows still exist in the .ts file.

      This has become a big issue on maintaining the files.

      Can anyone shed some light on how to get rid of those obsolete text entries?

      We are using QT4.7 at the moment.

      Thanks in advance,
      Saeed

      J.HilkJ Online
      J.HilkJ Online
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Lonovo you call lupdate with the argument -noobsolete. That is clearly stated in tthe Documentation


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      5
      • L Offline
        L Offline
        Lonovo
        wrote on last edited by
        #3

        Hi @J-Hilk
        thanks for your reply. Your help is much appreciated :)

        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