Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

In .net is there is any inbuilt methods is there to select languages automatically??
(C# .net winforms)

I do i like this.....
Enter all language in XML. and using the tag we can get the word in relevant language
But this is manual way

Ex:
lang
english Thanks='thanks"
hindi Thanks='____'
kanada Thanks='____'
telugu Thanks='____'
chinese Thanks='___'
lang


is there is any inbuilt methods or ways is there to select languages automatically??

Thanks in advance
Posted
Updated 26-Jul-11 23:35pm
v3

Have a look at .NET - Localization using Resource file[^]

Obviously, someone still has to translate the resource files into other languages. However, once you've created the resource files, the correct language will be displayed in your application by setting the CultureInfo.

In a Winforms \ Client application, using CurrentCulture [^]will automatically pick up whatever the user has their regional settings set to.
 
Share this answer
 
v2
Is this what you're looking for?

ASP.NET Web Page Resources Overview[^]

Hope it helps
 
Share this answer
 
Comments
SwaxRak 27-Jul-11 5:35am    
But in Winforms?
_Zorro_ 27-Jul-11 5:41am    
Walkthrough: Localizing Windows Forms
-------------------------------------
http://msdn.microsoft.com/en-us/library/y99d1cd3(v=vs.71).aspx

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