Find the translation file (*.ts) you want to edit, which is located in:
<message> <location filename="../main/animationcontroller.cpp" line="48"/> <source>Animation ToolBar</source> <translation type="unfinished"></translation> </message>
<message> <location filename="../main/animationcontroller.cpp" line="48"/> <source>Animation ToolBar</source> <translation>アニメーションツールバー</translation> </message>
What you should do is as follows:
- Delete “type=unfinished”
- Add translated text between <translation> and </translation>
- Save the file
Compile “*.ts” file using “lrelease.exe”
You should install Qt SDK to get lrelease.exe. See Appendix for detail.
Launch “Qt 5.5 64-bit for Desktop (MSVC 2013)” from menu below:
[Windows Start Menu] –> [Qt] –> [5.5] –> [MSVC 2013 (64-bit)]
Move to the folder which contains “*.ts” file.
Execute the following command.
lrelease.exe (dictionary file name)
After you execute the command, you’ll see that *.qm is created in the same folder.
You can check the translated text in the iRIC GUI after restarting it.