如何在C#Winforms中使用本地语言 [英] How to Use Local Language in C# Winforms

查看:77
本文介绍了如何在C#Winforms中使用本地语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,我做了一个App。在C#Windows应用程序中,该应用程序。支持多语言。用户可以在文本框中键入自己的语言。在这个应用程序。我已经使用全球化概念来根据用户选择显示不同的语言。在这个概念中,只显示了由开发人员给出的内容,但我希望用户在TextBox中输入文本,因为有愿望。伙计们请帮我解决这个问题。



谢谢。

解决方案

你需要使用全球化和附属程序集进行本地化。您可以使本地化高度自动化,甚至可以切换文化并在运行时自动更改UI的语言。我过去详细回答:

如何使用3种语言的单个resx文件 [ ^ ],

winforms中的全球化 [ ^ ],

winform .net 中的全球化/本地化问题[ ^ ]。



-SA

Hello Guys, I have done an App. in C# Windows Application, that app. Supports Multi-languages. as Users can type there own languages in text box. In this App. i have Used Globalization Concept for that to Display Different Languages as per the users selection. In This Concept Only the Content Which is Given by the developed is Displayed, But i want the User to enter the text in TextBox as there Wish. Guys Kindly Help me to Solve this Issue.

Thank you.

解决方案

You need to use globalization and localization, with satellite assemblies. You can have localization highly automated, can even switch cultures and automatically change the language of the UI during runtime. I answered in detail in the past:
How to use a Single resx file for 3 languages[^],
globalization in winforms[^],
globalization/localization problem in winform .net[^].

—SA


这篇关于如何在C#Winforms中使用本地语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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