Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Lrelease uses unfinished translation, but the documentation says it won't

Lrelease uses unfinished translation, but the documentation says it won't

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.1k 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.
  • M Offline
    M Offline
    Moschops
    wrote on last edited by
    #1

    This page:
    "Lrelease":http://qt-project.org/doc/qt-4.8/linguist-manager.html

    states:

    • Note that lrelease will only incorporate translations that are marked as "finished". Otherwise the original text will be used instead.

    My ts file contains nothing marked as finished. They all look like this:

    @<context>
    <name>ListDock</name>
    <message>
    <location filename="source/Dock/ListDock.ui" line="14"/>
    <source>ListDocks</source>
    <translation type="unfinished">メニューの日</translation>
    </message>
    </context>@

    Unfinished. The phrase "finished" appears nowhere in the file.

    When I run lrelease on this ts file, and then use the resulting qm file, all the unfinished translations are clearly used in the program.

    So is the statement
    Note that lrelease will only incorporate translations that are marked as "finished". Otherwise the original text will be used instead.
    false, or have I missed something?

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

      Hi,

      The doc should be accurate, I wouldn't expect unfinished translation to be used . You should have a look at the "bug report system":http://bugreports.qt-project.org to see if it's something known. If not please open a report with a minimal compilable example that shows the behavior

      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