View Single Post
Old 08-23-2015, 03:22 PM   #52
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by surquizu View Post
Hi Tshering !

Can you generate the file .ts from version 3.17.3? Or explain how it's done?
If you mean the general ts file, where all translation slots are still empty, I just uploaded it to the first post.

If you mean to update the Catalan ts from 3.16.0, please upload your most recent version of it. It does not make much sense if I update against an older version.


Quote:
Originally Posted by surquizu View Post
Now the text "page x of y" is not translated.
I did a test run with the most recent version that I have. I see more than 300 changes.


Quote:
Originally Posted by surquizu View Post
Or explain how it's done?
I can give an outline of the two ways I can think of. But I fear am not able to give a description of every detail.

1. way
  • extract a qm file from nickel (see this thread)
  • convert the qm file into ts-format
  • compare the new ts file with your old ts file
  • modify yourold ts file accordingly

2. way (I prefer this one)
  • write a fake script that contains all elements of nickel that contain a translation function
  • feed the script and the old ts file to Qt's lupdate and let it create the new ts file
If anybody knows an easier way, please share it.
tshering is offline   Reply With Quote