做了一个多国语言切换程序,有没有人要看? (0分)

  • 主题发起人 taozhiyu
  • 开始时间
看看
jiao_he@sina.com
 
DEMO里面的我不知道怎么没有效果。如果你有办法请告诉我
taozhiyu@msn.com
 
szchengyu@263.net
谢谢
 
给我一个吧,谢谢
wulianmin@21cn.com
 
luokai@up369.com
 
现在我遇到的问题是,如何实时切换。FlashGet用ini做到了实时切换,效果不错。
不过我估计他没有把系统的字符汉化,比如说"Disk Full"等等这样的字符串。他只是
把它本程序的字符转换了。

而且它的language这个菜单项没有随着用户的选择变化。
另外,他用ini文件转换语言,我觉得不大安全把!如果我把设置变了不就废了。我想
做成资源比较好。
不过现在的问题是,如果用资源文件来转换,对于系统字符串不能做到实时,虽然意义
不大,不过总觉得还是要彻底点好。
不知道哪位知不知道flashget是否汉化彻底了。我现在正在调查delphi做语言转换的机理
有初步结果。
另外,agangr以及以下的朋友留下了信箱,不过我没有发。等我有了一定的结果之后再给。
agangr以前的朋友我已经发了。如果没收到,就等下次吧!不过你还是告诉我你没收到。
 
ljgljg@sohu.com
 
能发一个吗?
wtjok@start.com.cn
谢谢
 
刚才到Delphi Community Home Page找了一个老外 给他写了一封信,问问,原文如下。
大家看看,如果你知道答案,就告诉我。谢谢。懒得翻译过来了。不好意思
thoth2487@hotmail.com
Dear sir:
i write a Multilanguage program with Translation Manager in Delphi 6.i need English and
chinese version. I’ve translate system string, such as system error info and text on forms.
the string variable i use has been translted and wrote into *.res file. That’s all i have
done.
I have tow problem:
*** First : System String Can Not Be Translted In Time!
NOW,my program can switch language after the program restart. I want to switch language in time,
what can i do
!!well,i know i can load string in other language resource file and evaluate it
to string variable or text on forms.BUT i CAN NOT translate system string IN TIME. that means
system string such "Disk Full" ,"Clipboard do
es not support Icons" still the original language.
how can i translate them in time???

*** Second : How to Promote the translation performance!
another question is how to promote the translation performance. you know, if i have lots of text
on forms such as Form1.Label.caption,Form2.Button1.Caption,ect ,the translation performance would
be LOW, and difficult to manage. so is there a way to solve this problem? so, I want to know
how to load resource file dynamically.
---the following is the key i image to the problem:
cos i find program set his language following this rule: 1st--Programmer's default set in design
time(NO resource file required);2nd--Operation System's Local set(resource file required);3rd---
registry set(resource file required) if resource do
es not exist,program can not load it,and
show the default langugae.if resource exist,program follow the os's local set,but resoruce file
required,or it will show default language!!the same thing will happen ,when it detect a registry
string.
I GUESS there must be a language interface for string resource. if program have decided the
language, it will load the res file as a interface, while component on form
show, it will load string through that interface. I think it is a automatic process. Well,this
process just my imagine,if it is wrong,please tell me the real process. Thanx
If that process is true,how can I change the interface in running-time. then
programmer just
need change the interface and send some process to let program refresh string’s language,
few code will be wrote,and need not evaluate EVERY strings to translate program.
Well~~
desire your reply!
mailto: taozhiyu@msn.com
homepage:http://taozhiyu.at.china.com
yours
1/15/2002
 
wumengs@163.com
 
我对这方面完全不懂,但也很希望了解一下,望指点
cczhlxu@163.net
 
呵呵,不懂。
 
天哪!请了那么多高手都没接触过嘛!
 
pls give me a copy,thks a lot!
 
我也要!cgh0717@eyou.com
up[:D]
 
fuyingke@163.com
 
litocheng@yahoo.com.cn
谢谢
 
就没人能帮我解决问题嘛?
 
horse0914@sina.com
 
我也不懂啊!用Google搜一下吧[:(]
 

Similar threads

顶部