Qt Linguist

国際化は Qt のコア機能です。これらの例では、ランタイムに翻訳とローカライゼーションの機能にアクセスする方法を示します。

Arrow Pad Example

Qt Linguist コンテキストの概念を理解し、2 つ以上の言語を使用する。

Hello tr() Example

小さな Hello World プログラムをラテン語に翻訳します。

I18N Example

Qt が翻訳されたテキストをサポートしていることを示します。

Localized Clock Example

この例では、CMake とQt Quick で Qt の翻訳とローカライゼーション機能を使用するためのベストプラクティスを示します。

Localized Clock with Runtime Language Switch

この例では、CMake とQt Quick で Qt の翻訳とローカライゼーションの機能を使用するためのベストプラクティスを示します。この例は、よりシンプルなローカライズされた時計の例を拡張したものです。

Qt Quick I18N

Qt Quick アプリケーションの翻訳ファイル(TS と QM)の生成

Troll Print Example

後のリリース用に翻訳を更新する。

© 2025 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.