如何在vb.net或c#.net中制作多语言应用程序 [英] How to make a multilingual application in vb.net or c#.net

查看:89
本文介绍了如何在vb.net或c#.net中制作多语言应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,非常有兴趣学习如何在vb.net或c#.net中制作多语言应用程序.

hello am very interested to learn how to make a multilingual application in vb.net or c#.net

推荐答案

看看这些(.NET,Winforms & Web ...):
使用附属程序集本地化Windows应用程序 [ .NET-使用资源文件进行本地化 [ ASP.NET 2.0中神秘化的全球化和本地化 [
Have a look at these (.NET, Winforms & Web...):
Localizing a Windows Application with Satellite Assemblies[^]
.NET - Localization using Resource file[^]
Globalization and localization demystified in ASP.NET 2.0[^]


1.首先对您的表结构进行更改
例如,在一个表中包含特定于语言的数据(例如名称),将定义的语言值作为一列,在其他表中包含其他非特定于语言的数据(例如数字").这适用于ur应用中使用的ur数据库中的所有表.
2.在项目中使用定义的特定于语言的值创建资源文件.如果您使用2种语言,则为不同的语言创建此资源,然后创建2个资源文件.

这两点是对你的暗示.
1. First make the changes to u r table structure
i.e include language specific data like name in one table with defined language value as one column, include other which are not specific to language like "numbers" in another table.This is applicable to all tables in u r data base which are used in u r application.
2. create resource file in u r project with language specific values defined in it.This resource created for different languages if u use 2 languages then create 2 resource files.

These two points are hint for u.


这篇关于如何在vb.net或c#.net中制作多语言应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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