change language without restart app
Code:
bool load=qTranslator->load("en_la");
m_UI->retranslateUi(this);
I want an app can change language without restart app, and i coded as above.
But that code only run at fisrt correctly. but at second it is incorrect, that is mean that the language can change at the first, and from second can change language
thanks
Re: change language without restart app
Where do you put that code? Do you remove the old translator?
Re: change language without restart app
thanks
i fixed, by incorrect logic
:)