QT_I18N_SOURCE_LANGUAGE

Gibt die Sprache der übersetzbaren Zeichenfolgen an.

Diese Variable wurde in Qt 6.7 eingeführt.

Legt die Sprache der übersetzbaren Zeichenfolgen im Quellcode fest. Die Sprache muss mit dem string-basierten Konstruktor ` QLocale ` kompatibel sein.

Zusammen mit ` QT_I18N_TRANSLATED_LANGUAGES` wird diese Variable verwendet, um die Namen der ` .ts `-Dateien für `qt_add_translations()` zu bestimmen.

Diese Variable lässt sich bequem mit dem Befehl ` qt_standard_project_setup() ` setzen.

Siehe auch qt_standard_project_setup() und qt_add_translations().

© 2026 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.