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":http://developer.qt.nokia.com/doc/qt-4.8/linguist-translators.html
    and
    "Qt Linguist Manual for Release Manager":http://developer.qt.nokia.com/doc/qt-4.8/linguist-manager.html


Log in to reply
 

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