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

chen cw crk_world at yahoo.com.cn
Mon Jan 7 05:10:44 UTC 2013


yes, thanks


On Mon, Jan 7, 2013 at 4:39 AM, Ruslan Ermilov <ru at nginx.com> wrote:

> 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>



-- 

--

Charles Chen

Software Engineer

Server Platforms Team at Taobao.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130107/cc9f5c20/attachment.html>


More information about the nginx-devel mailing list