zgulser
23rd March 2012, 08:45
Hi everybody, I have 4 questions regarding Qt translation issues..
1. Are tr() calls must(should) be done for manually added widgets(I mean widgets added from the source code, not from the designer)?
Because I experinced that adding widget from the designer and setting it's locale is adaquate for mark it as a translation candidate for translator.
Note: Obviously assume that a translator is loaded to our app.
2. Does "Locale" parameter in the designer for the widgets has anything to do with this issue?
3. Should tr() calls made for manually added widgets(I mean widgets added from source, nor designer)
4. How retranslateUi() decides which language is to be translated just with changeEvent()?
Thanks from now.
1. Are tr() calls must(should) be done for manually added widgets(I mean widgets added from the source code, not from the designer)?
Because I experinced that adding widget from the designer and setting it's locale is adaquate for mark it as a translation candidate for translator.
Note: Obviously assume that a translator is loaded to our app.
2. Does "Locale" parameter in the designer for the widgets has anything to do with this issue?
3. Should tr() calls made for manually added widgets(I mean widgets added from source, nor designer)
4. How retranslateUi() decides which language is to be translated just with changeEvent()?
Thanks from now.