Thanks to visit codestin.com
Credit goes to github.com

Skip to content

qt-learning/Translations

Repository files navigation

Translations

This is the repo for the Translations course on Qt Academy.

Getting Started

The files provided are the demo apps created during the course. They provide a reference for the workflows covered in the course section.

Instructions

To get started with this project, you will need to have Qt installed from the qt.io website. We Recommend using the QtCreator IDE in order to follow along with the content in the videos.

Translations_Section2: Example to demonstrate how to mark strings for translations with qsTr()

Translations_Section3: Example to demonstrate how to generate .ts files using lupdate. Tested with with Qt 6.7.2 MinGW 64-bit.

Translations_Section4: Example to demonstrate how to generate .qm files using lrelease and load them into the application with QTranslator. Tested with with Qt 6.7.2 MinGW 64-bit.

Translations_Section5a: Example to demonstrate how to use the CMake API for translations (using qt_add_translations()). Tested with with Qt 6.7.2 MinGW 64-bit.

Translations_Section5b: Example to demonstrate how to use the CMake API for translations (using qt_add_lupdate() and qt_add_lrelease()). Tested with with Qt 6.7.2 MinGW 64-bit.

Translations_Section6: Example to demonstrate how to prepare the C++ source code for dynamic translations when using a class exposed to QML. Tested with with Qt 6.7.2 MinGW 64-bit.

Resources

If you need additional help, the following resources may be helpful:

Licensing Information

Copyright (C) 2026 Qt Group.
SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

This is a Translations learning project demonstrating how to create Translations in a Qt based application.

Terms and Conditions

If you, your employer, or the legal entity you act on behalf of hold commercial license(s) with a Qt Group entity, this software package constitutes Pre-Release Code under the Qt License/Frame Agreement governing those licenses, and that agreement's terms and conditions govern your access and use of this software package.

This software package may provide links or access to third party libraries or code (collectively "Third-Party Software") to implement various functions. Use or distribution of Third-Party Software is discretionary and in all respects subject to applicable license terms of applicable third-party right holders.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors