Welcome! Log In Create A New Profile

Advanced

Re: "http://nginx.org/r/directive" will not redirect to correct language version of directive

Ruslan Ermilov
January 06, 2013 03:40PM
On Sat, Jan 05, 2013 at 03:45:49PM +0400, Maxim Dounin wrote:
> On Sat, Jan 05, 2013 at 06:10:27PM +0800, chen cw wrote:
>
> > Hi
> > I am a Chinese user and my language is zh-CN, however, when I access
> > the document http://nginx.org/r/allow, I see the English page even if there
> > is a Chinese page over there.
> > Is there any method allowing to redirect us to the page with correct
> > language?
>
> It doesn't do any automatic language detection intentionally, and
> defaults to English. It supports explicit definition of a desired
> language via optional suffix, e.g.
>
> http://nginx.org/r/allow/ru
>
> will redirect to a Russian docs, but it doesn't currently
> recognize "/cn" as a valid suffix. It probably should be allowed
> now as we have most of docs translated to Chinese (thanks for all
> involved, BTW!).
>
> Ruslan?

http://nginx.org/r/allow/cn should work now.

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

"http://nginx.org/r/directive" will not redirect to correct language version of directive

chen cw 909 January 05, 2013 05:12AM

Re: "http://nginx.org/r/directive" will not redirect to correct language version of directive

Maxim Dounin 465 January 05, 2013 06:48AM

Re: "http://nginx.org/r/directive" will not redirect to correct language version of directive

Ruslan Ermilov 465 January 06, 2013 03:40PM

Re: "http://nginx.org/r/directive" will not redirect to correct language version of directive

chen cw 502 January 07, 2013 12:12AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 102
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready