Issue 125070

Summary: Spanish download page not working
Product: Infrastructure Reporter: rgb <rgb.mldc>
Component: DownloadsAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED QA Contact:
Severity: Critical    
Priority: P2 CC: pescetti
Version: current   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Spanish download page none

Description rgb 2014-06-07 19:57:22 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.
Comment 1 Ariel Constenla-Haile 2014-06-07 20:05:42 UTC
(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.
Comment 2 Marcus 2014-06-07 22:24:04 UTC
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.
Comment 3 Marcus 2014-06-09 20:44:46 UTC
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/
Comment 4 Andrea Pescetti 2014-06-09 22:02:29 UTC
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.
Comment 5 Marcus 2014-06-19 19:08:20 UTC
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.