Important: Please read the Qt Code of Conduct -

how to remove obsolete entries from .ts linguist file

  • 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,

  • Moderators

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

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

Log in to reply