Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Inverse lupdate

    General and Desktop
    lupdate localization
    1
    1
    409
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      martonmiklos last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post