Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Changing the default Language of QT Designer
QtWS25 Last Chance

Changing the default Language of QT Designer

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 8 Posters 26.0k Views
  • 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.
  • F Offline
    F Offline
    floyD
    wrote on last edited by
    #1

    Hi Guys,

    got a short question. :)

    Is there a way to change the language of the QT Designer for example from german to english? :)

    Havent found anything on google :/

    thanks in advance!
    have a nice day!

    greets floyD

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, it currently uses the system locales to set its language so there's no manual way to change it. However if you are using Qt Creator, you can change its language in the preferences.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • C Offline
        C Offline
        Chistabo
        wrote on last edited by Chistabo
        #3

        Changing Qt Creator Tools/Options/Environment/Interface/Language from <system.language> to English does not change Qt Designer's UI language.
        Where can I vote/request for Qt Designer UI language to be user-selectable?
        Or what can I do to get Qt Designer UI in English, on Win7? My locale is Slovenian.
        Have fun,

        Simon
        S love nia

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Qt Creator and Designer as applications have no relationship at all so setting the language in Qt Creator won't have any effect on Designer.

          My suggestion was to use the designer plugin from Qt Creator to do you application GUI rather than designer itself.
          If you are ready to build Designer, the modification is minor: just don't load the translator on startup.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • CoastFFC Offline
            CoastFFC Offline
            CoastFF
            wrote on last edited by
            #5

            for QtCreator, you can change the default language setting through menu->toos->options..
            for Qt Designer, for now there's no such a menu to do, but you can let the Qt Designer not load the language file on start up, for my environment, go to Qt5.7.1/Qt5.7/mingw53_32/translations, you can see there is some files designer_xx.qm(xx is a country code),so you can delete it or remove it to other folder(rename wont work), then the designer will load the default english to it's ui.
            in your case, i guess delete or remove the designaer_de.qm would solve the problem

            trying is the 1st step towards failure

            1 Reply Last reply
            5
            • J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              What you could try is, removing the translation (*.qm) files, than qt an d qtdesigner should load with default english.

              This is untested, but it should work,

              translation files usually found here:
              /Qt/Tools/QtCreator/share/qtcreator/translations


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              2
              • D Offline
                D Offline
                derrougered
                wrote on last edited by
                #7

                In my case, since I have it in Conda, my translation files are in: C:\ProgramData\Anaconda3\Library\translations, so I zipped all the files there as precaution.

                Now my Qt designer is in english. (Y)

                0_1550056949941_20b32dda-df4c-4e7a-9e84-84e6cc96891d-image.png

                1 Reply Last reply
                2
                • C Offline
                  C Offline
                  chatgirl
                  wrote on last edited by
                  #8

                  you can make designer fail to find translation file (C:\5.15.2\mingw81_32\translations\designer_zh_CN.qm in my case) so it will fallback to english.

                  G 1 Reply Last reply
                  0
                  • C chatgirl

                    you can make designer fail to find translation file (C:\5.15.2\mingw81_32\translations\designer_zh_CN.qm in my case) so it will fallback to english.

                    G Offline
                    G Offline
                    Go Fish
                    wrote on last edited by Go Fish
                    #9

                    @chatgirl
                    I can't believe that in 2023 we have to do this.. While some text editor made by a solo developer supports language change (e.g. Notepad++).

                    It tool nearly 12 years to make developers of Qt Creator add that feature to..Windows version of Creator. Or permit use source files with encoding that aren't "OS native" in their mind. Oddly enough, features exist on Linux version, just not on Widows.

                    Absense of QoL features in Creater along with clunky interface cause so much stigma that it is considered worst IDE in some corporate workspaces (e.g. my company) and people avoid it. Similar issues with Designer causes developers to move away from Native widgets to QML or ditch Qt UI altogether and use somethign else (OSG,of example). Is this actually the plan?

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved