So are you going to fix it?
2012/5/4 Steve Gordon sgordon@redhat.com:
----- Original Message -----
From: "Steve Gordon" sgordon@redhat.com To: "For participants of the Documentation Project" docs@lists.fedoraproject.org Sent: Thursday, May 3, 2012 10:57:40 PM Subject: Re: docs.fedoraproject.org inaccessible
----- Original Message -----
From: "Steve Gordon" sgordon@redhat.com To: "For participants of the Documentation Project" docs@lists.fedoraproject.org Sent: Thursday, May 3, 2012 10:15:02 PM Subject: Re: docs.fedoraproject.org inaccessible
----- Original Message -----
From: "Walter Cheuk" wwycheuk@gmail.com To: "For participants of the Documentation Project" docs@lists.fedoraproject.org Sent: Thursday, May 3, 2012 8:18:41 PM Subject: Re: docs.fedoraproject.org inaccessible
Hi
- 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@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/docs