添加翻译文件

创建新项目时,可以自动生成一种语言的翻译源文件 (TS)。以后要添加其他语言,请使用文件向导。

为一种语言创建翻译源文件 (TS):

  1. 转到File >New File
  2. 选择Qt >Qt Translation File >Choose
  3. Language 中,选择一种语言和地区(locale)。

    为 TS 文件选择语言

您可以在Translation file 中看到文件名。

另请参阅 "创建文件"、"使用项目向导"、"使用Qt Linguist"、"Qt 的国际化 "Qt Linguist 手册

Copyright © The Qt Company Ltd. and other contributors. 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.