Howto export all texts to translate with QLinguist?
-
Yes I read it, and appreciate his kind reply.
I use lupdate tool, it just update my ts file, which can of course be opened on XML format.
All I ask is just can Qlinguist(after opening the ts file) export all texts in an excel or not?
Maybe it was my question which is not clear enough,
Does anyone know about it?
Thanks, -
hello,
what do you mean with "write your own converter"? I am trying to export the source text in excel and I get an xml file. How can I just get the content to translate? Is there a way to parse XML file to isolate useless tags?
What do you think?
Linda -
hello, thanks for the reply.
I have another question. Is it possible to create a phrasebook automatically? I mean: is it possible to insert all segments in it at once? -
The best way is to use Excel's integrated XML support as described here: [https://www.nextofwindows.com/how-to-convert-excel-spreadsheet-to-json](link url).
First create an XML map by using a small TS file to let Excel know how to interpret the Qt Linguist format. Finally import the data by mapping the XML elements to the worksheet columns and then by choosing the Import... option in the cell's XML context menu.
One additional note: Remove all <!DOCTYPE TS> declarations from the TS files, otherwise Excel denies the import with "unsupported document type".