Question #669479 on qpdfview changed: https://answers.launchpad.net/qpdfview/+question/669479
Adam Reichold posted a new comment: Hello Razi, the procedure you describe is correct (in addition you should call lupdate -no-obsolete in the last step), but the problem is that the translation contexts were not properly preserved and hence that second call to lupdate drops translation except where it can match them via the "same text heuristic". While this is often good enough, several languages will have dropped translations due to this, i.e. translations which are present in Launchpad and the PO files but missing in the resulting TS files after running lupdate again. However, I just pushed a small Python script into the scripts repository to fix these up and testing this with a few translations seems to work quite well. But I would really appreciate if you could give it another try? Maybe we can finally try to make this an almost automatic process without recreating the above dropped translations manually using Linguist. I would also be interested in any changes to the shell scripts that would help other - I mean specifically you - to work with these scripts since they have been single-purpose for my personal use until now. I also just updated the translation templates, i.e. they were 11 texts in the source code which were not even present on Launchpad. The PO files themselves are automatically generated by Launchpad and should only be edited via its web UI or the translation upload functionality. Hence they could not be correct without me updating the templates... Best regards, Adam. -- You received this question notification because your team qpdfview is an answer contact for qpdfview. -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp

