Update Qt translation files

To update all TS or QM files for a project, go to Qt > lupdate All .ts Files for Project or lrelease All .ts Files for Project in the context menu for the project.

Run translation tools during builds

To run lupdate or lrelease when you build a project, go to Extensions > Qt VS Tools > Qt Project Settings > Qt Translation > General, and select the tool to run.

{Qt Translation properties}

Set lupdate properties

To set properties for running lupdate for a project, go to Extensions > Qt VS Tools > Qt Project Settings > Qt Translation > lupdate.

{lupdate properties}

Select a property to see its description.

For a list of properties that you can set in AdditionalOptions, see lupdate options.

Set lrelease properties

To set properties for running lrelease for a project, go to Extensions > Qt VS Tools > Qt Project Settings > Qt Translation > lrelease.

{lrelease properties}

Select a property to see its description.

For a list of properties that you can set in AdditionalOptions, see lrelease options.

See also Create Qt translation files, Start Qt Linguist, Internationalization with Qt, and Qt Linguist Manual.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.