Click here to Skip to main content
15,910,877 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hello Sir,
I am working on the calendar control project and i wanna convert this into the hindi calendar and for displaying the name of week days i have used labels by using the culture the name of the months has converted into the hindi but the name of the week days are not. so now i am unable to understand that how to use the culture with the labels?

VB
Dim cultureInfo As New CultureInfo("hi-IN")
      Thread.CurrentThread.CurrentCulture = cultureInfo
      cultureInfo.DateTimeFormat.Calendar = New GregorianCalendar()



by this above code only the name of months has converted into hindi.

Please give any possible solution.

Thank You


[edit]"Ignore HTML..." option disabled - OriginalGriff[/edit]
Posted
Updated 29-Jun-11 20:20pm
v2
Comments
SURBHI TYAGI 30-Jun-11 2:30am    
Please reply sir.
SURBHI TYAGI 30-Jun-11 3:04am    
Please help me.

1 solution

Look at this article

Globalization and localization demystified in ASP.NET 2.0[^]
(Option of four languages : Hindi, US English, British English, and French.)
 
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