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



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


  • Lifetime Qt Champion

    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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.