Home All Groups Group Topic Archive Search About

Multilanguage calendar...

Author
26 Nov 2005 1:46 PM
Stu
Hi,

I am nearing the end of a multilanguage conversion and have just come across
a page which has a calendar control on it that needs translating. The
current language of the site is stored in a session variable as we need to
be able to swicth language regardless of the browser settings.

Does the asp.net calendar control support multi-language? If so - how?

Thanks in advance,

Stu

PS. We are probably moving to .Net 2.0 soon - so if that makes it easier....

Author
26 Nov 2005 3:41 PM
Phillip Williams
I have tried a calendar control on asp.net 2.0, by setting the Culture="auto"
UICulture="auto” in the page directive and I get the calendar days displayed
according to the language specified in the browser setting.  Here is a demo
in asp.net 2.0:  http://www.webswapp.com/demos/autoculture.aspx

Try it by setting your browser Tools->Internet Options->Languages to
different cultures and you should see the calendar display changes
accordingly whenever you click on a date.
Show quoteHide quote
"Stu" wrote:

> Hi,
>
> I am nearing the end of a multilanguage conversion and have just come across
> a page which has a calendar control on it that needs translating. The
> current language of the site is stored in a session variable as we need to
> be able to swicth language regardless of the browser settings.
>
> Does the asp.net calendar control support multi-language? If so - how?
>
> Thanks in advance,
>
> Stu
>
> PS. We are probably moving to .Net 2.0 soon - so if that makes it easier....
>
>
>
Are all your drivers up to date? click for free checkup

Author
26 Nov 2005 5:16 PM
Phillip Williams
I forgot also to mention that you can also override the Auto Culture option
in the code by assigning the Page.Culture to any other value.  I add a
dropdownlist to the demo to switch to any other language.
Show quoteHide quote
"Phillip Williams" wrote:

> I have tried a calendar control on asp.net 2.0, by setting the Culture="auto"
> UICulture="auto” in the page directive and I get the calendar days displayed
> according to the language specified in the browser setting.  Here is a demo
> in asp.net 2.0:  http://www.webswapp.com/demos/autoculture.aspx
>
> Try it by setting your browser Tools->Internet Options->Languages to
> different cultures and you should see the calendar display changes
> accordingly whenever you click on a date.
> --
> HTH,
> Phillip Williams
> http://www.societopia.net
> http://www.webswapp.com
>
>
> "Stu" wrote:
>
> > Hi,
> >
> > I am nearing the end of a multilanguage conversion and have just come across
> > a page which has a calendar control on it that needs translating. The
> > current language of the site is stored in a session variable as we need to
> > be able to swicth language regardless of the browser settings.
> >
> > Does the asp.net calendar control support multi-language? If so - how?
> >
> > Thanks in advance,
> >
> > Stu
> >
> > PS. We are probably moving to .Net 2.0 soon - so if that makes it easier....
> >
> >
> >
Author
28 Nov 2005 3:53 PM
Stu
Many thanks - that sorted it.

Show quoteHide quote
"Phillip Williams" <Phillip.Willi***@webswapp.com> wrote in message
news:DC7F29E3-3A94-4108-B469-A25328CC9D5F@microsoft.com...
>I forgot also to mention that you can also override the Auto Culture option
> in the code by assigning the Page.Culture to any other value.  I add a
> dropdownlist to the demo to switch to any other language.
> --
> HTH,
> Phillip Williams
> http://www.societopia.net
> http://www.webswapp.com
>
>
> "Phillip Williams" wrote:
>
>> I have tried a calendar control on asp.net 2.0, by setting the
>> Culture="auto"
>> UICulture="auto" in the page directive and I get the calendar days
>> displayed
>> according to the language specified in the browser setting.  Here is a
>> demo
>> in asp.net 2.0:  http://www.webswapp.com/demos/autoculture.aspx
>>
>> Try it by setting your browser Tools->Internet Options->Languages to
>> different cultures and you should see the calendar display changes
>> accordingly whenever you click on a date.
>> --
>> HTH,
>> Phillip Williams
>> http://www.societopia.net
>> http://www.webswapp.com
>>
>>
>> "Stu" wrote:
>>
>> > Hi,
>> >
>> > I am nearing the end of a multilanguage conversion and have just come
>> > across
>> > a page which has a calendar control on it that needs translating. The
>> > current language of the site is stored in a session variable as we need
>> > to
>> > be able to swicth language regardless of the browser settings.
>> >
>> > Does the asp.net calendar control support multi-language? If so - how?
>> >
>> > Thanks in advance,
>> >
>> > Stu
>> >
>> > PS. We are probably moving to .Net 2.0 soon - so if that makes it
>> > easier....
>> >
>> >
>> >

Bookmark and Share