Re: docs.fedoraproject.org inaccessible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Steve Gordon" <sgordon@xxxxxxxxxx>
> To: "For participants of the Documentation Project" <docs@xxxxxxxxxxxxxxxxxxxxxxx>
> Sent: Thursday, May 3, 2012 10:57:40 PM
> Subject: Re: docs.fedoraproject.org inaccessible
> 
> 
> 
> ----- Original Message -----
> > From: "Steve Gordon" <sgordon@xxxxxxxxxx>
> > To: "For participants of the Documentation Project"
> > <docs@xxxxxxxxxxxxxxxxxxxxxxx>
> > Sent: Thursday, May 3, 2012 10:15:02 PM
> > Subject: Re: docs.fedoraproject.org inaccessible
> > 
> > ----- Original Message -----
> > > From: "Walter Cheuk" <wwycheuk@xxxxxxxxx>
> > > To: "For participants of the Documentation Project"
> > > <docs@xxxxxxxxxxxxxxxxxxxxxxx>
> > > Sent: Thursday, May 3, 2012 8:18:41 PM
> > > Subject: Re: docs.fedoraproject.org inaccessible
> > > 
> > > Hi
> > > 
> > > >
> > > > 1) The index.html welcome page has not been translated to
> > > > zh-TW,
> > > > which means the English welcome page is displayed to users with
> > > > their browser set to this language.
> > > >
> > > 
> > > Even the English welcome page does not appear. The browser just
> > > keeps
> > > loading and nothing displays except the phase 'Fedora
> > > Documentation',
> > > when the browser's 'accepting language' has 'Chinese (Taiwan)' at
> > > top.
> > > And the welcome has been translated (a week ago) [1]
> > 
> > Ok, nirik and I were trying to reproduce this earlier and have not
> > been able to so far. Also note that I was looking in the git repo
> > for the website itself and the index.html for zh-TW is not there so
> > while it may well be in transifex it doesn't look like it has been
> > brought across.
> 
> Alright now I see what you mean, it appears to go into a loop in the
> JavaScript for locale selection. It will take a little more
> investigation to work out why it never meets the conditions required
> to break out of it.
> 
> Steve

Ok, as it turns out in the loop the language gets matched correctly, the browser is then the user is redirected to http://docs.fedoraproject.org/zh-TW/index.html which as I said before doesn't currently exist. This is handled by redirecting the browser to http://docs.fedoraproject.org/, which then triggers the locale selection logic which redirects you to http://docs.fedoraproject.org/zh-TW/index.htmlleaving the browser in a loop it can never escape. Seems like getting that translated welcome page out of transifex and into the website is all that is required.

Steve
-- 
docs mailing list
docs@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/docs



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux