Groups | Blog | Home
all groups > dotnet internationalization > november 2005 >

dotnet internationalization : Is it possible to use a non-gregorian calendar in English? How?


Izzy
11/28/2005 7:56:04 AM
I want to use a calendar web control that will display a non-gregorian
calendar. When setting the CultureInfo.DateTimeFormat.Calendar = new
Calendar() it works but the language is the Culture's language, and I want it
to be displayed in English. E.g. When trying to display a Hebrew Calendar I
will use the following code in Page_Load:
CultureInfo ilCulture = new CultureInfo("he-IL");
ilCulture.DateTimeFormat.Calendar = new HebrewCalendar();
Thread.CurrentThread.CurrentCulture = ilCulture;
This will dispaly a HebrewCalendar but the HebrewCalendar will be displayed
in Hebrew, and I want it to be displayed in English. Is it possible? How?
Michael (michka) Kaplan [MS]
12/1/2005 6:34:35 AM
It is not possible.

Not every calendar i translate into English; some of the native calendar are
only in the native language (in fact currently the Gregorian one is the only
one translated)....


--
MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.


[quoted text, click to view]

AddThis Social Bookmark Button