Apache OpenOffice (AOO) Bugzilla – Issue 125070
Spanish download page not working
Last modified: 2014-06-19 19:08:29 UTC
Created attachment 83524 [details] Spanish download page The Spanish download page at http://www.openoffice.org/es/descargar/ is not working as shown on the attached picture. It seems that the recent changes on the EN download site broke the ES page. The problem is not related with cache: it is present even cleaning cache and on several browsers.
(In reply to rgb from comment #0) > is not working as shown on the attached picture. It seems that the recent > changes on the EN download site broke the ES page. Yes. I changed the link in the topnav.mdtext, I'll search other places linking to that page and change them to point to the English download.
The webpage relied on the "getLink()" function on the main download webpage. This is no longer there. Unfortunatelly, I cannot help to fix this before Monday evening (CEST). But here is what I would do to not only fix but also upgrade to the new look & feel: 1. Copy & paste the relevant code part in ".../download/index.html" (it's the HTML + JS part for the green box) and replace the respective part in ".../es/descargar/index.html". 2. Copy the ".../download/msg_prop_l10n_en.js" to ".../es/descargar/" and rename it to "msg_prop_l10n_es.js". 3. Translate the strings in the file into Spanish. - Hint 1: The current strings in "/es/descargar/index.html" can help to shortcut this. - Hint 2: The file contains more strings. But only the ones for the green box, sub-green box and sub-red box are necessary, please look for the comments. 4. Insert the following line in ".../es/descargar/index.html" into the "head" part at top of the file: <script type="text/javascript" src="msg_prop_l10n_es.js"></script> 5. This should help to get back the download webpage in Spanish. I'm very sorry that the recent change caused this trouble.
A working example the for the select boxes together with localized text can be seen on the German download webpage: http://www.openoffice.org/de/downloads/
Note: the workaround that is in place now at http://www.openoffice.org/es/descargar/ is nothing more than a workaround, see http://markmail.org/message/5oemkkh5lhoqjjgt for discussion. But at least the green box is shown and leads to the global download page.
Closing the issue for now as the download is possible again. More discussions are going on on dev@ how to improve this in general and for all NL webpages.