473,587 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Welsh culture on server 2003

Hi,

I'm trying to change the culture to Welsh by doing the following:

Thread.CurrentT hread.CurrentCu lture = New CultureInfo("cy-GB")
Thread.CurrentT hread.CurrentUI Culture = Thread.CurrentT hread.CurrentCu lture

The above code works okay on Windows XP, but fails to work on Server 2003.
The following error occurs on Server 2003:

Culture name 'cy-gb' is not supported.

Can you advise how to setup Server 2003 to enable the Welsh culture.

Many thanks,

Rob.
Jan 12 '06 #1
2 1785
On Thu, 12 Jan 2006 05:06:03 -0800, Bobbus
<Bo****@discuss ions.microsoft. com> wrote:
Hi,

I'm trying to change the culture to Welsh by doing the following:

Thread.Current Thread.CurrentC ulture = New CultureInfo("cy-GB")
Thread.Current Thread.CurrentU ICulture = Thread.CurrentT hread.CurrentCu lture

The above code works okay on Windows XP, but fails to work on Server 2003.
The following error occurs on Server 2003:

Culture name 'cy-gb' is not supported.

Can you advise how to setup Server 2003 to enable the Welsh culture.

Many thanks,

Rob.


I'm afraid I can't help with Server 2003, but I did notice that you
used "cy-GB" while the error message said "cy-gb" in lower case. If
that is a true reflection of what the error message said then that
might have a bearing on the problem.

rossum

--

The ultimate truth is that there is no ultimate truth
Jan 12 '06 #2
rossum,

Cheers for the reply. I noticed the same thing, it appears to be 'normal'
for the error message to display lowercase cultureinfo name. As mentioned in
the post the code works okay on windows XP, but not on server 2003.

Rob.

"rossum" wrote:
On Thu, 12 Jan 2006 05:06:03 -0800, Bobbus
<Bo****@discuss ions.microsoft. com> wrote:
Hi,

I'm trying to change the culture to Welsh by doing the following:

Thread.Current Thread.CurrentC ulture = New CultureInfo("cy-GB")
Thread.Current Thread.CurrentU ICulture = Thread.CurrentT hread.CurrentCu lture

The above code works okay on Windows XP, but fails to work on Server 2003.
The following error occurs on Server 2003:

Culture name 'cy-gb' is not supported.

Can you advise how to setup Server 2003 to enable the Welsh culture.

Many thanks,

Rob.


I'm afraid I can't help with Server 2003, but I did notice that you
used "cy-GB" while the error message said "cy-gb" in lower case. If
that is a true reflection of what the error message said then that
might have a bearing on the problem.

rossum

--

The ultimate truth is that there is no ultimate truth

Jan 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3840
by: Dejan Vesic | last post by:
I found nasty "documentation" bug; ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemglobalizationcultureinfoclasstopic.htm claims that proper culture info name for Serbian (Cyrillic) - Serbia is "Cy-sr-SP" but if you try this, you will get "Culture name Cy-sr-SP is not supported" exception. If you set up culture info via...
2
5050
by: Aliasgar Pocketwala | last post by:
Hi, I have an asp.net application that is using the wrong culture. I cant figure out where does it get its setting from. My web application runs as a specific user since so that I can give it some more rights. I can login to the web server using this user identity. Now I go to the regional settings and change the date format to a specific...
1
1930
by: Chris Porter | last post by:
Just as I thought I was understanding doing timezone offsets I ran the following code : CultureInfo en = new CultureInfo("en-GB"); Thread.CurrentThread.CurrentCulture = en; Response.Write(String.Format("culture {0}<br />", Thread.CurrentThread.CurrentCulture.ToString())); DateTime dt = new DateTime(2003, 11, 22, 1, 0, 0);
2
1719
by: Hardy Wang | last post by:
Hi, We migrated some of web applications to a new server. When the server was installed, the regional setting was EN-CA, later on we found culture display was not same as from original server (which was EN-US), we reset server's culture to EN-US. Now we have 2 web applications still behaviouring as EN-CA setting. It recoginizes string...
3
2135
by: BBC1009 | last post by:
Don't know why when rebuild VB.Net project (vb.net 2002 framework 1.0), this error comes out suddenly. Anyone can help. Thanks!!!!
3
2032
by: Adrian Parker | last post by:
How do I add the Welsh language to IE6 ? And what would the ISO code be for it ? I've tried using the User Defined cy as some sites say, but the following code just uses the catch block as it's not found. Try Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(Request.UserLanguages(0))
6
6920
by: Mike9900 | last post by:
Hello, I want to view the calendar in another culture, for example let it show in Arabic. I use this code in the Main, but the calendar is still in the same culture: CultureInfo sa = new CultureInfo("ar-SA", false); sa.DateTimeFormat.Calendar = new System.Globalization.HijriCalendar(); // Sets the culture to Arabic (Saudi Arabia)...
0
2789
by: Mrs Sarah Welsh | last post by:
Dear Friend I am Mrs. Sarah Welsh, an English woman who is suffering from cancerous ailment. I am married to Sir Jim Welsh who also is an Englishman though dead now. My husband worked with the Nigeria Railways for over two decade before the cold hand of death took him away on the 23rd of July 2003 at about 2:00AM. Our marriage lasted for...
25
5815
by: Simon | last post by:
Hello - I'm working on a team that is planning to add Welsh language support to a large existing IT system which is partially web-based and English-language-only so far. I've heard that 2 characters in Welsh (w-circumflex and y-circumflex) are not supported in our default ISO-8859-1 character set, so a partial move to Unicode for internal...
0
7852
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8221
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5719
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.