PDA

View Full Version : QLineEdit translations



plopes21
8th March 2013, 19:00
Hi people, i would like can translate the context menu when I press right button of the mouse, the actions are shown me always in English. I would like can translate the words like copy, paste, cut...

I saw the QlineEdit class and the words is with tr() . But I can't translate them.

Help me please.

Thanks, Pedro.

Ashkan_s
9th March 2013, 13:06
Take a look at http://qt-project.org/doc/qt-4.8/internationalization.html

wysota
9th March 2013, 16:17
You need to load an additional translation catalog for Qt itself. It's available for most common languages and is distributed with Qt.