资源中的多种语言 [英] Multiple Language from resource

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

问题描述

我的表单使用Visual Basic.我想根据用户选择的语言更改标题语言.假设用户选择中文,那么所有表格的标题名称都会根据资源中的定义更改为中文?任何人都可以在Visual Basic中建议我如何做.

I have my forms in visual basic.I want to change the caption language according to the language selected by the user.suppose if user select chinese then all form''s caption name change into chinese as per defined in resources?Can anyone suggest me how to do this in visual basic.

推荐答案

您需要阅读文档中的Localization和Globalization.

基本上,对于每种区域性都有一个资源文件,该文件根据机器区域性或您将其设置为哪种而加载.

您确实需要阅读文档,以获取有关如何做的答案,因为要做一些事情,否则它将变成一篇冗长的文章!

关于CP的话题已经有一些了,所以也许去阅读一下.
You need to read up on Localization and Globalization in the documentation.

Basically, you have a resource file for each culture which gets loaded in depending on either the machines culture or what you set it to.

You really need to read the docs to get an answer on how, as there are a few things to do, and otherwise it would turn this into a lengthy article!

There are already a few articles on CP relating to this subject, so maybe go and have a read of those also.


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

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