[solved]Translate ui forms created with Qt Designer ?
Hello;
Please, how to translate forms (.ui) created with Qt Designer ??
:confused:
Re: Translate ui forms created with Qt Designer ?
Internationalization - See the section "Produce translations".
Re: Translate ui forms created with Qt Designer ?
thanks for your response ;
but i don't see how can we translate forms !
we can't edit the source code to intrduce tr() function :(
?
Re: Translate ui forms created with Qt Designer ?
Quote:
Originally Posted by
QAmazigh
but i don't see how can we translate forms !
we can't edit the source code to intrduce tr() function
Have you ever look at the *.h files which are generated out of your ui files? Take a look and see that your strings inside the tr() function.
Re: Translate ui forms created with Qt Designer ?
Quote:
Originally Posted by
QAmazigh
thanks for your response ;
but i don't see how can we translate forms !
we can't edit the source code to intrduce tr() function :(
You don't translate forms, that's not Windows.... translating is done at runtime not during compilation.
Re: Translate ui forms created with Qt Designer ?
thanks everybody :)
it's not complicated as i though !
Good Luck .