且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在C#Winforms中使用本地语言

更新时间:2023-12-05 17:33:46

你需要使用全球化和附属程序集进行本地化。您可以使本地化高度自动化,甚至可以切换文化并在运行时自动更改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