Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I convert qm to ts file?

I'm using Qt 4.5 to translate a .ts file to a .qm file. But now I've lost the .ts file.

How can I convert it back - from .qm to .ts?

like image 605
Duong Nguyen Avatar asked Sep 03 '15 10:09

Duong Nguyen


People also ask

How do I create a TS file in Qt?

Select Extensions > Qt VS Tools > Create New Translation File. In the Language field, select a language from the list of supported languages. In the Filename field, enter a filename for the translation file. Select OK to create the file and have it listed in Translation Files in Visual Studio's Solution Explorer.

What is a QM file?

A . qm file is a compiled Qt linguist file. In many ways it is similar to Gettext, in that it uses a hashing table to lookup the translated text. In older version they store only the hash and the translation which doesn't make the format useful for recovering translated text.

What is a TS file?

A TS file is a type of video stream file. It's used to store video content on DVD and Blu-ray discs. It makes use of standard MPEG compression in order to compress video data, mostly being used for saving streamed or broadcast video content.


1 Answers

Use lconvert

lconvert compiled.qm -o source.ts
like image 78
Strelokhalfer Avatar answered Oct 04 '22 17:10

Strelokhalfer