Click here to Skip to main content
15,909,199 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
Hi How make a multi-language program to, for example English and other languages
Should I use XML
Please Take the example of a sample
Thanks!
Posted
Comments
Wonde Tadesse 12-Jun-11 15:26pm    
Not clear. You mean to say a UI with different language settings or what? Elaborate please.
Sergey Alexandrovich Kryukov 12-Jun-11 16:07pm    
It partially depends on UI library and technology. WPF, Forms, ASP.NET?!
Tag it!
--SA

This is a big topic, but all solutions are well-known and thoroughly supported by .NET.

See my past answer where I explain globalization and localization:
Multi Langauge WINFORm[^].

For detail, look here first: http://msdn.microsoft.com/en-us/library/aa292205(v=vs.71).aspx[^].

Read this CodeProject article:
WPF Localization Using RESX Files[^].

See also my article on a specific topic of enumeration globalization/localization: Human-readable Enumeration Meta-data[^].

For Windows application, it is also important to make your application flexible, so it won't be sensitive to lengths of the strings in the UI.
Please see my past recommendations here:
GUI Apperance - C#.Net[^],
Zom Out malfunctions when Screen resolution changes[^].

For ASP.NET, see this article: Globalization and localization demystified in ASP.NET 2.0[^].

—SA
 
Share this answer
 
Comments
Wonde Tadesse 12-Jun-11 16:33pm    
5+
Sergey Alexandrovich Kryukov 12-Jun-11 16:43pm    
Thank you, Wonde.
--SA
Tarun.K.S 12-Jun-11 17:14pm    
Right. 5+
I have also answered, is that what the OP wanted?
Sergey Alexandrovich Kryukov 12-Jun-11 17:29pm    
Thank you, Tarun. OP need to specify library/technology to use.
--SA
thatraja 12-Jun-11 22:35pm    
5!
I think you want your application to be shown in different languages. If that is so, then have a look at these two articles:

- Instantly Changing Language in the Form[^]

- Changing Your Application User Interface Culture On The Fly[^]

Hope it helped. :thumbsup:
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 12-Jun-11 17:28pm    
My 5. Instant change is another thing.
--SA
Tarun.K.S 12-Jun-11 17:34pm    
Thank you. These articles use Reflection a lot.
thatraja 12-Jun-11 22:36pm    
5!
Tarun.K.S 13-Jun-11 2:57am    
Thanks a lot bro! :)
Kim Togo 13-Jun-11 2:34am    
Good answer. My 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900