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 範例

更新用於稍後發行的翻譯。