[Interest] state of qttranslations

Manner RĂ³bert rmanni at gmail.com
Tue Sep 5 16:39:48 CEST 2017


Hi,

I am trying to use qttranslations in my application to make common widgets
(like open dialog) have their translations.
I am compiling it by myself, standard way: qmake && make
I am trying to load the full translations qt_<lang>.qm

Some of them works nearly fine like "hu", but most dont eg "en", "fr", "de"
etc. Those which do not work are very small qm files. Checking their ts
files, the difference seems to be that they are "catalogs" of smaller ones.
Running lrelease on them results in a message that 0 was translated:

This is a catalog and does not work:

$ lrelease qt_de.ts
Updating 'qt_de.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

This is not a catalog and does not work:

$ lrelease qt_hu.ts
Updating 'qt_hu.qm'...
    Generated 2131 translation(s) (2113 finished and 18 unfinished)
    Ignored 100 untranslated source text(s)

I observe the same with qm files shipped on archlinux.

Does anyone know what do I misunderstand? How do one handle qt's
translations nowadays?

Thanks for any help,

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170905/16d540ec/attachment.html>


More information about the Interest mailing list