资源包用于多种语言 [英] Resource Bundle for multiple languge

查看:70
本文介绍了资源包用于多种语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



先生我有一个产品这个产品有一个不同的实用程序列表,当我运行其中一个实用程序(如成功执行)时会生成特定于实用程序的事件,这会生成事件是英文的,我希望这个事件应该是不同的语言,我准备好了我在实用程序中传递的字符串的不同版本(法语,德语等),但我确实没有任何想法实现这个。将在执行该实用程序期间生成的字符串将被修复,请告诉我解决此问题的方法,我不想使用数据库文件。





谢谢



Sunil

Hi,
sir i have a product this product have a list of different utility that generates events specific to utility when i run one of the utility(like "successfully executed") , this generated events is in English , i want that this event should be in different language, i all ready have the different version(French,German,etc) of string that i am passing in my utility , but i do"nt have any idea to implement this .The string that will be generates during execution of the utility will be fix,plz tell me a way to resolve this issue ,i do"nt want to use Database file.


Thanks

Sunil

推荐答案

您可以使用Win32消息资源,它可以满足多种语言的需求。请参阅文档 [ ^ ]有关如何实现它的完整详细信息。
You can use the Win32 message resource, which caters for multiple languages. See the documentation[^] for full details of how to implement it.


这篇关于资源包用于多种语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆