qt_i18n_source_language

翻訳可能な文字列の言語を指定します。

この変数は Qt 6.7 で導入されました。

ソースコードで翻訳可能な文字列の言語を指定します。この言語は、文字列ベースのQLocale コンストラクタと互換性がなければなりません。

QT_I18N_TRANSLATED_LANGUAGES とともに、この変数はqt_add_translations().ts ファイル名を決定するために使用されます。

この変数はqt_standard_project_setup()コマンドで設定できます。

qt_standard_project_setup()qt_add_translations()も参照してください

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