Description of problem: Publican-generated websites include an index.html page that redirects visitors to localised versions of the home page. At the moment, only a limited group of hard-coded languages are supported. Publican should generate redirects for every language published on the site Version-Release number of selected component (if applicable): 2.1 How reproducible: 100% Steps to Reproduce: 1. Generate a website with the "create_site" command 2. Look in index.html 3. look for the line that starts: var locales = Actual results: Fixed list of languages Expected results: List of languages updated to reflect site content. Additional info: The workaround is to hand-edit the index.html file. You need to make the same change any time you run "update_site" because this command rewrites the file.
Added template and code to regenerate this file when the tocs are updated. Fixed in build: 2.1-0%{?dist}.t23
Verified in 2.1.t26 -- locales match the installed languages.
publican-2.2-0.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/publican-2.2-0.fc13
publican-2.2-0.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/publican-2.2-0.fc12
publican-2.2-0.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/publican-2.2-0.fc14
publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.