web.git redirect for ro-RO

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

 



Hello,

I'd like to bring everyone's attention to a bug[1] that I've discovered
a workaround for.  Here's what happens:

We install ro-RO translations to web.git. They go into
web.git/public_html/ro_RO/

When any book is installed, web.git/public_html/index.html is rewritten.
This page contains a snatch of JavaScript to redirect a user to their
localized content.

In the case of ro-RO, this JavaScript actually redirects to
web.git/public_html/ro/index.html - which breaks the site for ro-RO readers.

The fix[2] is simple. Edit web.git/public_html/index.html and changs
"ro" to "ro-RO" . This needs to be done after *every* run of installs,
so please check it before you push.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=998327
[2]
https://git.fedorahosted.org/cgit/docs/web.git/commit/?id=2f2791b0ec7d42befb48db9bec25b1e98f255b9a

-- 
-- Pete Travis
 - Fedora Docs Project Leader
 - 'randomuser' on freenode
 - immanetize@xxxxxxxxxxxxxxxxx


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
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