Red Hat Bugzilla – Bug 998327
http://docs.fedoraproject.org/ doesn't work for the Romanian language (ro-RO)
Last modified: 2015-09-27 22:54:10 EDT
Section Number and Name:
Describe the issue:
If I put Romanian ([ro-RO] and/or [ro]) at the top of preferred
languages in firefox-23.0-1.fc19.x86_64, the web page doesn't work. The
page is loaded then the browser seems to be redirected to the same page
over and over.
Suggestions for improvement:
Visiting http://docs.fedoraproject.org/en-US/index.html directly works
Visiting http://docs.fedoraproject.org/xx-XX/index.html (literaly)
starts a loop.
I don't necessarily want the website translated into Romanian, I just
want it to work even if it's in English.
I've confirmed the symptoms can be recreated by invoking `LANG=ro_RO firefox` under a clean user account.
Some additional information: the / page has "ro" in the list of
(supported) locales even if the possible URLs for the Romanian
language don't work.
I also looked at the git repository for the website and I noticed that
there's no `index.html` under the ro subdirectory like for other
languages, e.g. de-DE and fr-FR. By the way, while looking at the
rest of the languages I noticed that the index file is missing from
ia too, so I tested with Interlingua and the looping issue occurred
: https://git.fedorahosted.org/cgit/docs/web.git/tree/public_html/index.html#n19 <!-- not sure if that's the source of what I get in browser -->
I'm not able to reproduce the website not redirecting you to en-US language pages. In fact, that's all I can get it to do. Looking at the source I can confirm that *some* of the files are translated into Romanian for the website but, like you found, there is no index.html for the language.
I'll continue to troubleshoot this and see what I can do. I'd like to see the site available in Romanian (especially if the source is already translated).
Sorry for the delay on this ticket.
Thanks for the heads-up Sparks -- I'll see if I can get to the bottom of this...
I've done a little poking on this, republishing docsite-publican. I found that publishing an ro-RO translation results in "ro" in the "locales" variable that gets iterated over for the redirect. For now, I'm manually changing web.git/public_html/index.html to "ro-RO", which redirects to the ro-RO content that seems to be in the correct path.
Right now I'm being redirected to http://docs.fedoraproject.org/ro-RO/index.html and I see some English documentation in the right frame/panel, but the left side seems to be stuck in an infinite loop.
(In reply to Cristian Ciupitu from comment #6)
> Right now I'm being redirected to
> http://docs.fedoraproject.org/ro-RO/index.html and I see some English
> documentation in the right frame/panel, but the left side seems to be stuck
> in an infinite loop.
The left pane is redirected based via cookie; can you clear cookies for the site and test?
(In reply to Pete Travis from comment #7)
> (In reply to Cristian Ciupitu from comment #6)
> > Right now I'm being redirected to
> > http://docs.fedoraproject.org/ro-RO/index.html and I see some English
> > documentation in the right frame/panel, but the left side seems to be stuck
> > in an infinite loop.
> The left pane is redirected based via cookie; can you clear cookies for the
> site and test?
I've cleared both the cookies and the cache and the result is the same.