.mo file

Asked by Мирослав Николић on 2021-03-07

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:
2021-03-07
Last reply:
2021-03-07
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.