Qt Linguist 示例
国际化是 Qt Core 的一项核心功能。这些示例展示了如何在运行时访问翻译和本地化设施。
了解Qt Linguist 上下文概念和使用两种或多种语言。 | |
该示例展示了在 CMake 和Qt Quick 中使用 Qt 的翻译和本地化功能的最佳实践,包括不同语言中复数的处理,以及本地化的时间和日期格式。 | |
该示例展示了在 CMake 和Qt Quick 中使用 Qt 基于 ID 的翻译功能的最佳实践,包括处理不同语言中的复数以及本地化的时间格式。 | |
该示例展示了在 CMake 和Qt Quick 中使用 Qt 的翻译和本地化功能的最佳实践,特别是在运行期间更改应用程序的语言。它扩展了更简单的本地化时钟示例。 | |
为以后的版本更新翻译。 |
© 2026 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.