Merge translation files (.ts) with existing .ts files using QT Utilities (lconvert)

后端 未结 3 523
忘掉有多难
忘掉有多难 2021-02-07 03:07

Here\'s my problem: We\'ve got .ts files for nine different languages for our product. We\'ve added about 100 new strings that need to be translated, but some are for our next

3条回答
  •  时光说笑
    2021-02-07 03:13

    thanks for this tip. It seems to work properly for my case : I tried to extract updated and new strings from my project, which is currently under translation in an older version/release that I do not already have translated strings.

    The problem was to send the new/updated strings only to translators.

    I passed older strings in status resolved, adding new string using Lupdate, make a research using OxygenXML Editor with an XPath "/TS/context/message[not(translation/@type)]" to delete older strings, and clean it from useless blanks and carriage returns.

    I tried a merge using lconvert with your solution, in order to merge translated strings : older and newer. It pass correctly lrelease and are displayed properly.

提交回复
热议问题