Design your application so that it can be adapted to various languages and regions without engineering changes. For more information, see:
You can use Qt Creator wizard templates to create Qt widget-based projects with translation support. For more information, see Qt Creator: Creating Projects .
The following examples illustrate how to prepare Qt applications for translation:
tr()
function to mark user-visible source text for translation.
tr()
which provides additional information to the translator.
以下视频展示如何国际化和本地化简单范例应用程序: