473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Multilanguage calendar...

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
3 2354
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Mariano Lpez | last post by:
I'm trying to make a multilanguage website. When the user enters the site, I want to detect the language and automatically make a redirection. How can I do this? And how should I organize my data...
1
by: Tosch | last post by:
I have to write a multilanguage application with the following criteria: - The language code can be set in a config file or similar. I don't want .NET do decide which language to use. This way...
3
by: Olivier | last post by:
i need to create a multilinguage site and i need help : first i want to know what is the best and simple solution for a multilinguage site with plone 2? i want some tutorial, how to and if...
0
by: Giovane Calabrese | last post by:
ok. im try to make a multilanguage system based on that tutorial : http://www.123aspx.com/redir.aspx?res=29112 in my aspx pages all text are in labels , and i want to take the name labels...
1
by: Andrew Smith | last post by:
Hi, does anybody know to program multilanguage website, which are dependend on the browsers language settings? Does anybody know a nice jumpstart for this? Thanks in advance for any advice...
5
by: Michal Tborsk | last post by:
I am wondering, if it's effective to use text arrays to store multilanguage information. We used to do it like this: CREATE TABLE product ( id serial NOT NULL, price float4, ... )
0
by: HelmutStoneCorner | last post by:
Hi, I am connected as a german client to a multilanguage server, Regional Options: English, US. Western Europe and US. The W2K Server (Terminal) -version: english(US) runs a french database. My...
15
by: AG | last post by:
I have seen the samples for multilanguage support regarding what is normally static content. Can anyone point me to a good sample for multilanguage support for dynamic content. Like a gridview...
1
by: paolob | last post by:
I need to provide multilanguage support to my application. I alredy writed a multilanguage test application, using VS6 and resource only dll. Now i'm using Visual Studio 2005, I find out that it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.