i want localize my DateTimePicker Control-Help

  • Thread starter Thread starter Reny J Joseph Thuthikattu
  • Start date Start date
R

Reny J Joseph Thuthikattu

Hi,
If i put a month callender on a asp.net web form and specify the culture on
the page directive like
'<%@ Page language="c#" Culture="ar-OM"%>
it will display the Month callender in arabic.

I want the same result for my windows application.Can any one tell me how
can i do that?


Reny
 
Reny,

One way to get never a good answer is posting your question again and again
in a newsgroup.

Cor
 
Hi Cor,
Here is my problem , i read in an article that Windows Form Controls like
display the date information in the language specified in the Regional and
Language Options (in the Control Panel) and are bound to are bounded to the
culture set in the operating system.
Setting the CurrentUICulture or CurrentCulture property has no effect on the
language displayed on these controls.

http://www.ondotnet.com/pub/a/dotnet/2003/09/29/globalization_pt2.html?page=2

But i don't want to force the user to alter his locale setting and then use
my program to see the datetime in his language.Do you know any other way to
display the datetimepicker control in onec's local language rather than
english.Or any one know other good windows form control?

Regards

Reny
 
Reny,

I was curious about this and searched on internet and tested it as you did.

I get the idea that the datetimepicker is not acting on the culture setting
either in the ui or in the complete one.

That is as well how it is written on Internet in all messages about that.

However to get too your problem. The calendar should be displayed depending
on the OS settings of the user. And that would mean when I understand you
well that there is no problem for you.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top