How do i download TS translation (not PO)

Asked by scootergrisen

I was trying to download the danish translation to test it but it seem i can only download PO /MO.
But in the code it seems the program is using TS/QM format.
So how can i get the TS file?

Question information

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

Hello,

when integrating the PO-based translations from Launchpad into the application, one needs to convert using lconvert, a program that is part of the Qt development tools like for example qmake. We do have some scripts to partially automate this (the result of running lconvert is often incomplete and needs to be manually fixed up using Qt's Linguist), c.f.:

https://bazaar.launchpad.net/~adamreichold/qpdfview/scripts/view/head:/convert_translation.sh

Best regards, Adam.

Revision history for this message
scootergrisen (scootergrisen) said :
#2

Ok managed to get it working by manually copying the missing <context> part from the old ts file in the code to the new i converted.
Not smart but good enough for testing the translation.