翻译器
Qt Linguist 是用于翻译 Qt 应用程序中字符串的工具。安装 Qt 后,您可以像开发主机上的其他应用程序一样启动 。Qt Linguist
注意: 您可以从https://download.qt.io/linguist_releases/ 获取仅适用于Qt Linguist 的安装程序(不含整个 Qt SDK)。该安装程序适用于 Windows,并能与 Qt 6 配合使用。
为解决因人类语言的微妙性和复杂性而产生的问题,翻译人员和开发人员可能需要
- 根据上下文将一个短语翻译成多种不同的形式。例如,英语中的open(打开)在德语中可能会变成öffnen(打开文件)或aufbauen(打开互联网连接)。
- 更改键盘快捷键中的助记符,而不产生冲突。例如,英语中的
\&Quit
在挪威语中变成了Avslutt,而挪威语中不包含字母Q。除非更改多个快捷键,否则不能使用已在使用的字母。 - 改写包含变量的字符串。例如,在翻译字符串时,您可能需要将变量以不同的顺序排列。 所选的 25 个文件将需要 63 秒来处理,其中两个数字是在运行时以编程方式插入的。
有关如何使用Qt Linguist 翻译应用程序的更多信息,请参阅:
© 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.