mike
Sun Jun 22 07:31:04 CDT 2008
Unfortunately, the site has already been developed. Ideally, we'ld
prefer the leave it as is. Can this be supported via IIS?
On Jun 21, 6:26=A0pm, David Wang <w3.4...@gmail.com> wrote:
> On Jun 21, 4:13=A0am, mike <b_na...@yahoo.ca> wrote:
>
> > Need some help configuring IIS to support a multi lingual site.
>
> > My application supports a language parameter. For example,www.mysitenam=
e.com
> > renders the site in english andwww.mysitename.com/default.aspx?lang=3Df=
r
> > will render the site in french.
>
> > I want customers to be able to access the french site by using the urlw=
ww.monsitenom.com. So,www.monsitenom.comshould"redirect" towww.monsitenom.c=
om/default.aspx?lang=3Dfr.
>
> > How do I set this up?
>
> > Thanks.
>
> Why don't you make your webpage auto-select language by the "Accept-
> Language" header instead of a querystring "Lang" variable?
>
> If you auto-select, all you need to do is add "www.monsitenom.com" to
> the list of Hostnames alongside "www.mysite.com" and the website will
> automatically choose the right language depending on what the user
> selects.
>
> No need for hacky redirections and everything looks perfectly
> integrated.
>
> //David
http://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //