Important: Please read the Qt Code of Conduct -

Lrelease issues

  • Hello all,

    I am trying to update myb knowledge on mulingual support at run time.In this regard I have gor one demo application which has a languages menu and one label on dialog with "text". For the first time I run it successfuly and all the strings on the dioalg (window title+menu title+label text) were got changed according to the language selection from menu.I tried changing those three string from Qt Creator and then used lupdate and then lrelease. My .ts files created successfully with string chenges but .qm files are not getting updated and hence language chage is not happenning accordingly.

    this is the message from General messages window I can see..

    "Updating 'D:/Qt playground/Lang/lang/tr_tr.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 3 untranslated source text(s)"

    Can somebody shed some light on this and let me know what process I am missing ?

    Thanks in advance..

  • lrelease creates translations in the QM file only for the strings that are marked as "finished".

    Did you use Qt Linguist to translate your strings? Sorry to ask, but that wasn't clear in your post...

    If not, you might want to check :
    "Qt Linguist Manual for Translators":
    "Qt Linguist Manual for Release Manager":

Log in to reply