Use Qt Linguist
When you create a new project, you can automatically generate a translation source file (TS) for one language. You can add other languages later by editing the project file.
To open TS files in Qt Linguist, right-click a TS file in the Projects or File System view and select Open With > Qt Linguist in the context menu. For more information about Qt Linguist, see Qt Linguist Manual.
You can use the Qt Linguist release manager tools, lupdate and lrelease, directly from Qt Design Studio. The lupdate tool synchronizes source code and translations. The lrelease tool creates run-time translation files for use by the released application.
Note: Running the tools from Qt Design Studio is supported only when using qmake as the build system. For more information about using the tools with CMake, see Qt6::LinguistTools.
By default, the project .pro file is passed to the tools as an argument. To specify other command-line arguments for the tools, select Tools > External > Configure.
To synchronize TS files from a translator with the application code, select Tools > External > Linguist > Update Translations (lupdate).
To generate from the TS files Qt message (QM) files that can be used by an application, select Tools > External > Linguist > Release Translations (lrelease).
See also Use external tools.
Available under certain Qt licenses.
Find out more.