Qt Linguist 范例

国际化是 Qt 的核心特征。这些范例展示如何在运行时访问翻译和本地化设施。

Arrow Pad 范例

理解 Qt Linguist 上下文概念和使用 2 种或多种语言。

Hello tr() 范例

将小 Hello World 程序翻译成拉丁语。

I18N 范例

演示 Qt 对翻译文本的支持。

Localized Clock Example

The example shows best practices for using Qt's translation and localization features in CMake and Qt Quick including the handling of plurals in different languages, and localized time and date formats.

Localized Clock with Runtime Language Switch

The example demonstrates best practices for using Qt's translation and localization features in CMake and Qt Quick, in particular changing the language of an application during runtime. It extends the simpler Localized Clock Example.

Troll Print 范例

更新用于稍后发行的翻译。