qtqt-linguist

Can Qt lrelease tool process XLIFF files instead of ts-files?


In the documentation of the Qt lrelease tool I read, that .ts files can be compiled to .qm binaries using following command:

lrelease.exe main_en.ts languages\main_fr.ts

Is it possible to take .xliff files as well as input instead of the .ts files to compile .xliff files to .qm files? How is it done?


Solution

  • From the documentation of lupdate, it is mentioned that you can generate .ts file from XLIFF files. You can then use lrelease to generate the .qm file.

    Be aware that only the XLIFF 1.1 format is supported, not the 1.0.