View Single Post
Old 10-09-2015, 04:07 AM   #64
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 Terisa de morgan View Post
I have one question. I've seen the thread you refer when people ask about qm file. I have the python script running, selected the translations with the bytes you have said there but... I got I nice text file. How do I convert that text file, with some binary string, in a qm file? Or what do I have to write from the script?
I am not sure if I understand you correctly. Do you use the/a python script that is posted in that thread? Or did you improve on it? (If I remember correctly the script posted there does not what it should.) Anyway, I assume you have a python script that can extract all zlib streams from nickel. Ten of those streams are the compressed qm files of the ten supported languages. (Edit: Actually it is eleven files and languages, I forgot to count English) Therefore, I guess your nice text file with some binary strings is already a qm file.

Last edited by tshering; 10-09-2015 at 10:51 AM.
tshering is offline   Reply With Quote