|
发表于 2004-1-8 10:07:31
|
显示全部楼层
Re
in your foo.pro file, add a line:
TRANSLATIONS = foo_zh.ts
in the source files, add tr() to every literal string that will appear on the gui.
lupdate foo.pro
use linguist to make the translation
use lrelease
in main.cpp, add a QTranslation object. |
|