[Interest] state of qttranslations

Manner Róbert rmanni at gmail.com
Wed Sep 6 09:57:34 CEST 2017


solving my own mystery, the thing which I did not understand is that
catalog like qm files are referring other qm files which has the
translations themselves, so those also need to be present to be able to
load the catalogs.

Problem solved, sorry for the noise :)



On Tue, Sep 5, 2017 at 4:39 PM, Manner Róbert <rmanni at gmail.com> wrote:

> 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/20170906/e4202ea5/attachment.html>

More information about the Interest mailing list