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
?
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.
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.
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.
Use lconvert
lconvert compiled.qm -o source.ts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With