QT_I18N_已翻译语言

项目国际化所使用的语言列表。

该变量自 Qt 6.7 起引入。

指定用于项目国际化的语言列表。这些单个语言必须与基于字符串的QLocale 构造函数兼容。

QT_I18N_TRANSLATED_LANGUAGES 中的语言用于:

可以通过qt_standard_project_setup()命令方便地设置此变量。

默认情况下,可翻译的字符串被视为写在en 中。

另请参阅 qt_standard_project_setup()和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.