Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello friends,
I am creating a locale specific windows application. I have to use Hindi-india as the locale language. I have gone through many msdn links, but I have not found an appropriate solution. I have some projects that support hindi language, but when I try to make a new application from start I am missing some point that I don't know. I am not able to change to locale language it is still the default.
I used this code to change the current culture, but I am not able to solve problem. Please help me find an appropriate solution.

System.Threading.Thread.CurrentThread.CurrentUICulture =<br />
                  new System.Globalization.CultureInfo("hi-IN");


thanks in advance
Posted
Updated 8-Sep-10 0:52am
v2

First, change the form property Localizable to true. Second, create a resx for translating Strings into your own language. I think the datetime automatically changes format but not OK or CANCEL or NAME in your labels. Third, make sure that there is no other line of code that changes the locale back.
 
Share this answer
 
By any chance, did you forgot to make the form property 'Localizable' as true? If so, that is needed.

Have a look at this thread for step-wise setup: Sample article with steps[^]
 
Share this answer
 

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