-
Context Menus
Hi, can somebody help me with context menus? I dont know if it is an installation issue, some configuration, some flag or even a bug, but when I access context menus in any of my applications fields, they appear in english, while in qt designer and linguist they appear in the language of my OS just like they should be.
This issue is happening in Mac Leopard, Ubuntu and Windows, even running different Qt builds of Qt on them.
Im using 4.5.2 and 4.5.1, I dont remember if this happened in 4.5.0.
Thanks in advice for any help with it.
-
Re: Context Menus
We'd have to see some code of yours. In general check if you're calling tr() on menu items when setting text on them.
-
Re: Context Menus
Thanks for the help wysota, I think I was not much clear about the context menu I was talking about... beginner thing...
The menus in question are the default menus from a qplaintextedit or lenedit (copy, paste, ...) that are not automatically translated to my OS language (copiar, colar, ...) i didnt change anything in code, and previewing them at Designer gives me the menus correctly translated.
Thanks again for the attention.
-
Re: Context Menus
Do you have the translations for Qt in your language installed in your application? They are called qt_languageid.qm (i.e. qt_de.qm for german).
-
Re: Context Menus
Solved!!! Thanks wysota, I didnt realize that I should load a translator for this issues, thought that the default OS locale would do it by his own. Thanks again!