qt-linguist

How to change languages(translations) dynamically on PyQt5?

How to change languages(translations) dynamically on PyQt5? Question: I wonder if it is possible to change the languages(translations) dynamically without using qt designer to make the UI? That means I don’t want to use the function retranslateUi() to update the program interface. Here is my code, but I’m stuck on lines marked #1 #2 #3. …

Total answers: 3