By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,589 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,589 IT Pros & Developers. It's quick & easy.

Multilanguage calendar...

P: n/a
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....
Nov 26 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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....

Nov 26 '05 #2

P: n/a
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....

Nov 26 '05 #3

P: n/a
Stu
Many thanks - that sorted it.

"Phillip Williams" <Ph**************@webswapp.com> wrote in message
news:DC**********************************@microsof t.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....
>
>
>

Nov 28 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.