多国语言WINFORm [英] Multi Langauge WINFORm

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

问题描述

亲爱的所有人,

我有一个Winform应用程序,我想添加一些资源文件以支持多语言.
如果从列表框中选择语言,我不知道如何创建和调用资源文件,以及如何初始化form_load()上的标签.

请帮助

问候...

Dear All,

I have an application winform and I want to add some resource file to support multi language.
I do not know how to create and how to call the resource file if language is choosen from the list box, and how to intitialize the labels on form_load().

Please Help

regards...

推荐答案

请参阅 ^ ].


您正在寻找的过程称为本地化",如果您将其与"C#"结合使用,Google会为您提供很多帮助.
也有关于Codeproject的信息: .NET-使用资源文件进行本地化 [
The process you are looking for is called "localization" and Google will help lots if you search for that, combined with "C#".
There is info on Codeproject too: .NET - Localization using Resource file[^] is one article on the subject - perhaps a little research will be a quicker way to get results in the future? :laugh:


请不要搜索"localization",而应该搜索"globalization"和本地化. (Microsoft常规帮助的介绍就足够了).下一项将是卫星组件".

您可以先进行全球化,然后再担心本地化.获得全球化发展的状态基本上是将UI相关的内容保留在资源中(有一些想法).

全球化项目的本地化是一个技巧,它允许添加具有额外(基于文化的资源)资源的卫星程序集,但又不影响现有代码-这很棒.
Please search not for "localization" along but for "globalization" and than for localization. (Introductions in regular Microsoft help are good enough). Next item would be "satellite assemblies".

You can do globalization first before you worry about localization. Getting a status of globalized development is basically keeping UI-related stuff in resources (with some thinking).

Localization of a globalized project is a trick that allows adding satellite assemblies with extra (culture-based) resources, but not touching existing code -- and this is great.


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

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