在Windows应用程序中支持多种语言 [英] support multiple language in windows application

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

问题描述

我在Windows中有一个项目,该项目需要支持多种语言的阿拉伯语和英语.向我发送示例代码

I have a project in windows , which need support multiple language Arabic and English.send me sample code

推荐答案

启动时间阅读:多语言应用 [
Time to start reading: MultiLanguage Applications[^]


引用:
全球化概念问题 [ winform .net中的全球化/本地化问题 [ ^ ]
Refer:
globalization concept problem[^]

A detailed answer here:
globalization/localization problem in winform .net[^]


您可以使用全球化和本地化来更改语言.
制作资源文件并使用resgen< file name =" with =" full =" path =">进行编译. Visual Studio命令提示符上的命令.
然后您可以将资源文件中的每个值分配给相应的标签.
资源文件将包含值和字符串
像这样,您可以为Windows窗体添加多种语言
You can use globalization and localisation for language changing.
Make resource files and compile them with resgen <file name="" with="" full="" path=""> command on visual studio command prompt.
and then you can assign each value in resource file to respective label.
resource file will contain value and string
like this you can add number of languages for your windows form


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

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