Hello,
I have written a KDE GUI program in which the messages displayed in UI are in English.
And now, I want to change the messages to another language.
I found that in Qt by using "QTextCodec::locale()" user program can get the locale and then use the Qtranslator to load the corresponding qm file.
But in KDE, I didn't find somthing like this to get locale and to load corresponding mo file.
QTranslator can not load mo file!
How should I do in KDE? And where my mo file should be placed, in /usr/share/locale/XX/
LC_MESSAGES/abc.mo ?(assumes abc is my program's name)
Thank you very much!
Bookmarks