.mo file

Asked by Мирослав Николић

Where to put .mo file in file system to check my translation.

Question information

Language:
English Edit question
Status:
Answered
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Reichold (adamreichold) said :
#1

Hello Мирослав,

as qpdfview uses the Qt framework for its UI, you cannot use mo files directly. You need to convert them into Qt's ts format first using the lconvert tool and into the binary qm format using the lrelease program.

If you want to locally test this, qpdfview's translations are usually installed at

/usr/share/qpdfview/qpdfview_<lang>.qm

but it will also look for translations put right next to the binary first.

Best regards,
Adam

P.S.: You can also directly edit the TS files using Qt's Linguist application.

Can you help with this problem?

Provide an answer of your own, or ask Мирослав Николић for more information if necessary.

To post a message you must log in.