Taha Mahmoud
Taha Mahmoud

Reputation: 31

How to change default language in qt designer

How to change the default language in qt designer anyone has solutions.

Upvotes: 3

Views: 3070

Answers (3)

Andy
Andy

Reputation: 11

In terms of Pyside 6 in virtual environment, the translation folder is at .venv\Lib\site-packages\PySide6\translations, then follow above instructions, rename/remove all language.

Upvotes: 1

Dr.NOBoDy
Dr.NOBoDy

Reputation: 11

until now there is no professional solution so i will suggest to try my solution: go to Qt Designer directory ex: (C:\xxx\Python\Python37-32\Lib\site-packages\qt5_applications\Qt) and go to \translations directory and rename/remove all language you don't need so your program will take the rest language as default language ex rename files : qtscript_fr renamed to -qtscript_fr- assistant_fr renamed to -assistant_fr-... this worked for me

Upvotes: 1

chatgirl
chatgirl

Reputation: 51

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.

Upvotes: 5

Related Questions