Supporting Languages - Welsh ?

  • Thread starter Thread starter Adrian Parker
  • Start date Start date
A

Adrian Parker

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))
ls_language = Thread.CurrentThread.CurrentCulture.Name
Catch
Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture("en-gb")
ls_language = Thread.CurrentThread.CurrentCulture.Name
End Try
HttpContext.Current.Response.Cookies.Add(New HttpCookie("Cul", ls_language))
 
Hi Adrian,

Welcome to the MSDN newsgroup.

As for the "Welsh", it is still not included in the .net framework (both
1.1 and 2.0)'s predefined cultureInfo list:

#CultureInfo Class
http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo.as
px

So even if we add a custom language header(for Welsh) in the http message
through IE's languages setting, the server-side ASP.NET application can not
find the direct mapped culture for it.

BTW, currently for windows XP(>SP2), if you're using .net framework 2.0,
there is a "Welsh" culture available in the OS's regional setting. And in
the .net framework 2.0 code, we can use the "cy-GB" to create the
CultureInfo specific to that setting.'

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Hi Steven,

So if we use cy-GB as our language, it would work, but only using net2.0 on XPsp2 ?

Is this currently supported on windows 2003 ? and if not now, when will it be ?

Thanks
 
Thanks for your response Adrian,

So far it is limited on other OS version and I haven't got any definite
info on when it'll also be upgrated to windows 2k3. However, for .net
framework 2.0, it doest provide some new features on extending the exiting
culture set regarding on the lack of some built-in or predefined culture in
framework or on windows OS.

#Extend Your Code's Global Reach With New Features In The .NET Framework 2.0
http://msdn.microsoft.com/msdnmag/issues/05/10/Globalization/default.aspx

Though it is still quite limited, we can use it to do handle some
additional conditions in .net 2.0 applications.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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