Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » CACKO & SHARP/金峰 & OZ

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
界面的中文翻译 Goto page 1, 2  Next
View previous topic :: View next topic  
Author Message
midnight



Joined: 31 Mar 2006
Posts: 27
Location: 上海浦东
小企鹅: 6

PostPosted: 2006-May-19 Fri, pm11:05 Reply with quote
 Post subject: 界面的中文翻译

界面的中文翻译,似乎可以用一个
qm2ts的文件把qm转化为ts的文件,然后再翻译
翻译方法:
linguist
http://heanet.dl.sourceforge.net/sourceforge/psi/qtlinguist-3.0.4.zip

哪位有找到过这个软件(qm2ts)?
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2006-May-20 Sat, pm1:42 Reply with quote
 Post subject:

qtlinguist-3.0.4.zip已经下载
可以独立运行在windows下面,但只能对ts文件操作。
所以还需要qm2ts。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2006-May-20 Sat, pm2:17 Reply with quote
 Post subject:

已经找到全套的翻译工具
可以从ftp://ftp.trolltech.com/qt/pre-releases/下载的
那个zip里边bin目录下的东西就可以用。
一会我把taiwan的qm都转成ts,大家努力,估计1星期就能搞定。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/


Last edited by ccpaging on 2006-May-20 Sat, pm2:36; edited 2 times in total
Back to top
View user's profile Send private message
ioiomi



Joined: 20 Apr 2006
Posts: 83

小企鹅: 8

PostPosted: 2006-May-20 Sat, pm2:27 Reply with quote
 Post subject:

随便搜了一下,不知道这个是不是你们要的http://www.rpi.edu/AFS/home/41/bailem2/rt/campus/X11/R6/gtk/2.0.2/non-rep/distrib/qt-x11-free-3.0.5/tools/linguist/qm2ts/
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2006-May-20 Sat, pm5:29 Reply with quote
 Post subject:

goodstyle能不能把方法总结一下,然后置顶。
我在翻译addressbook

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
yqjs



Joined: 10 Nov 2005
Posts: 28

小企鹅: 41

PostPosted: 2006-May-20 Sat, pm9:15 Reply with quote
 Post subject:

我在翻译addressbook[/quote]
请问ccpaging:我下载了linguist-pre.zip,能在xp下打开linguist.exe,就是打开qm2ts.exe没反应,怎么回事?
Back to top
View user's profile Send private message
ioiomi



Joined: 20 Apr 2006
Posts: 83

小企鹅: 8

PostPosted: 2006-May-20 Sat, pm9:40 Reply with quote
 Post subject:

这个文章我哪里看到过
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2006-May-20 Sat, pm10:30 Reply with quote
 Post subject:

晕,不是我写的,忘了加转载了。
qm2ts是要输入参数的,在DOS窗口里边执行
qm2ts addressbook.qm
这样就能从addressbook.qm转出addressbook.ts
linguist.exe可以打开addressbook.ts进行翻译
后面的过程还没试过。

不过,最好有人能组织翻译的,这样不会重复,效率高。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
yqjs



Joined: 10 Nov 2005
Posts: 28

小企鹅: 41

PostPosted: 2006-May-20 Sat, pm11:10 Reply with quote
 Post subject:

ccpaging wrote:
晕,不是我写的,忘了加转载了。
qm2ts是要输入参数的,在DOS窗口里边执行
qm2ts addressbook.qm
这样就能从addressbook.qm转出addressbook.ts
linguist.exe可以打开addressbook.ts进行翻译
后面的过程还没试过。

不过,最好有人能组织翻译的,这样不会重复,效率高。

还是不行,老大。addressbook.qm有8K可转出只有391字的addressbook.ts。能不能说具体点,我是个菜鸟,只想玩玩。呵呵....
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2006-May-20 Sat, pm11:40 Reply with quote
 Post subject:

先别急吧,我再试,估计midnight也在试。
试好了,我们会写一个详细的操作步骤。
今天带儿子去swimming,有点累,岁月不饶人啊。

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
yqjs



Joined: 10 Nov 2005
Posts: 28

小企鹅: 41

PostPosted: 2006-May-21 Sun, pm9:32 Reply with quote
 Post subject:

哦,老大还是个模范父亲,值得学习! Very Happy
不知 研究出来没有?真希望ccpaqing和midnight等大虾多做些贡献,顺便把HancomMobilesheet、HancomMobileword、Tree!Explorer、Kino2等常用软件汉化一下,造福我等爱国的E盲!呵呵...
我在此向各位行个礼,道个谢!
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2006-May-21 Sun, pm10:42 Reply with quote
 Post subject:

qm2ts没问题
linguist有问题,不少汉字在xp里边输入不进去
用Emeditor可以直接修改ts文件,记得用utf8方式打开

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
yqjs



Joined: 10 Nov 2005
Posts: 28

小企鹅: 41

PostPosted: 2006-May-22 Mon, pm8:58 Reply with quote
 Post subject:

请问ccpaging:
那如何将翻译好的.ts文件再转回.qm?还有为什么我在台湾网站下载的easycht_1.0_all.ipk,解开后addressbook.qm只有8K,而你提供的却有27K,你在哪里下的?
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2006-May-22 Mon, pm10:10 Reply with quote
 Post subject:

在你运行lrelease之前,你应该准备一个项目文件。这是一个项目文件(trans.pro文件)的例子:


HEADERS = funnydialog.h \
wackywidget.h
SOURCES = funnydialog.cpp \
main.cpp \
wackywidget.cpp
FORMS = fancybox.ui
TRANSLATIONS = addressbook.ts \
other.ts

运行命令
lrelease trans.pro
就能生成qm文件了

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
yqjs



Joined: 10 Nov 2005
Posts: 28

小企鹅: 41

PostPosted: 2006-May-22 Mon, pm11:46 Reply with quote
 Post subject:

哎,自叹资质太差,搞了半天,转回去的.qm还是不能用! Embarassed
老大,你搞定了没有,能不能把这个解释清楚点:
在你运行lrelease之前,你应该准备一个项目文件。这是一个项目文件(trans.pro文件)的例子:


HEADERS = funnydialog.h \
wackywidget.h
SOURCES = funnydialog.cpp \
main.cpp \
wackywidget.cpp
FORMS = fancybox.ui
TRANSLATIONS = addressbook.ts \
other.ts

运行命令
lrelease trans.pro
就能生成qm文件了

还有老大提供的zh_TW.rar有部分是倭文,更是不懂!
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » CACKO & SHARP/金峰 & OZ All times are GMT + 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional