Connecting Tech Pros Worldwide Forums | Help | Site Map

Creating a new culture for Localization

James
Guest
 
Posts: n/a
#1: Jul 21 '05
I am preparing a web site to include localization functionality. In
addition to supporting the list of cultures available from the .net
framework I would like to support the Maori langauge. As Maori is not
a listed language within Wnidows I will be setting the UICulture via
code rather than detecting it from the user's browser.

Is it possible to create a custom CultureInfo object? I know that you
can customize an existing Culture, but I would prefer not to do this
if possible.

Thanks.

Mihai N.
Guest
 
Posts: n/a
#2: Jul 21 '05

re: Creating a new culture for Localization


> Is it possible to create a custom CultureInfo object? I know that you[color=blue]
> can customize an existing Culture, but I would prefer not to do this
> if possible.[/color]
Please check
microsoft.public.win32.programmer.international
It is a pretty long discution thread on this subject.
Short conclusion: NO
In theory this can be done by deriving the new culture from CultureInfo.
But it seems the solution does not work for web.

--
Mihai
-------------------------
Replace _year_ with _ to get the real email
Mihai N.
Guest
 
Posts: n/a
#3: Jul 21 '05

re: Creating a new culture for Localization


A follow-up from microsoft.public.win32.programmer.international

================================================== ================

Subject: Re: is it possible to create new culture?
From: "Achim Ruopp [MSFT]" <achimru@online.microsoft.com>
Newsgroups: microsoft.public.win32.programmer.international

We do have a sample application on how to do this:
http://www.gotdotnet.com/Community/U...pleGuid=a193b9
52-2e44-45ed-811d-c1fabf2f6e8a

--
Achim Ruopp

This posting is provided "AS IS" with no warranties, and confers no rights.

"Mountain Bikn' Guy" <vc@attbi.com> wrote in message
news:JW4Bb.467909$Tr4.1291543@attbi_s03...[color=blue]
>
> "Michael (michka) Kaplan [MS]" <michkap@online.microsoft.com> wrote in
> message news:OdU4YTQvDHA.3140@TK2MSFTNGP11.phx.gbl...[color=green]
> > Currently, the only way to really do this is to do as you suggest. Of[/color]
> course[color=green]
> > that method is not without its problems, for example in regard to when[/color]
> such[color=green]
> > cultures are serialized, or passed across AppDomains.
> >[/color]
>
> Thank you for your feedback!
>
>[/color]


================================================== ================



--
Mihai
-------------------------
Replace _year_ with _ to get the real email
Closed Thread