Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Inverse lupdate



  • Hello all,

    I am looking for something weird: an inverted lupdate program.

    Long story short: we have started a project with English UI because of some unknown reasons related to the improper UTF-8 handling on Windows. Later we have figured out that a piece of code:
    [code]
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
    [/code]
    solves our problems.

    Now we would like to switch back to our native language in the UI because it would make the development process more efficient.

    Basically I am looking for a script/software which would go back to the source/ui files and would replace the strings with the localized ones. I do not know if such a software would exists, but if yes I would not like to invest time in developing something already existing.

    Thanks in advance!


Log in to reply