List of languages to be used for project internationalization.
This variable was introduced in Qt 6.7.
Specifies a list of languages that are used for project internationalization. The single languages must be compatible with the string-based QLocale 构造函数。
The languages in
QT_I18N_TRANSLATED_LANGUAGES
are used to:
.qm
文件。
.ts
file names in
qt_add_translations()
.
This variable can be conveniently set with the qt_standard_project_setup() 命令。
By default, translatable strings are considered to be written in
en
.
另请参阅 qt_standard_project_setup() and qt_add_translations() .