Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the recommended way to support multiple languages in my C# program?

Tags:

c#

I'm about to start a desktop program that I want to add support for as many languages as I can. I'm going to be using C# and at least .Net 2.0. Is there a recommended way for adding support for multiple languages in the GUI and error messages?

Many thanks

like image 627
LeeW Avatar asked May 31 '10 21:05

LeeW


2 Answers

There's plenty of localization articles on MSDN:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptutorials/html/introduction_to_resources_and_localization.asp

http://msdn2.microsoft.com/en-us/library/1k15k55d.aspx

http://www.microsoft.com/globaldev/getwr/dotneti18n.mspx

like image 95
VoodooChild Avatar answered Sep 22 '22 16:09

VoodooChild


The umbrella term that applies to this is localization, specifically string localization (other things like currency and date/time formats can be localized, too). Here's a tutorial that covers some important aspects of it.

like image 29
Bob Kaufman Avatar answered Sep 22 '22 16:09

Bob Kaufman