"http://nginx.org/r/directive" will not redirect to correct language version of directive
crk_world at yahoo.com.cn
Mon Jan 7 05:10:44 UTC 2013
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
> > > the document http://nginx.org/r/allow, I see the English page even if
> > > is a Chinese page over there.
> > > Is there any method allowing to redirect us to the page with
> > > 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
Server Platforms Team at Taobao.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel