Closed Bug 370595 Opened 17 years ago Closed 17 years ago

Display of localized add-on descriptions broken

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwkbugzilla, Assigned: wenzel)

References

()

Details

I just tried entering localized information for Adblock Plus - the German and the French versions should have links to the correct versions of the homepage. Default should still be English, it should be a fall-back for both homepage and description. Instead I see that for each language version the displayed information is the same - it is either all English (homepage http://adblockplus.org/en/, English description) or all German (homepage http://adblockplus.org/de/, no add-on name and no description)! When and why it changes between the two I don't know, is there any caching?
It is worse than I thought. http://preview.addons.mozilla.org/es-ES/firefox/browse/type:1 shows Adblock Plus as updated but doesn't have a title for it, the search doesn't find it. And Adblock Plus cannot be seen under "Popular Extensions" - not sure whether it is the same bug however.

I copied the English description to the German and French versions to fix the problem there, Spanish (where I didn't enter anything at all) is still broken however.
Flags: blocking-remora-launch+
Wladimir, thanks for pointing this out. The untranslated strings were in fact stored as '' in the translation table and therefore broke translation fallback. I fixed this in SVN r2240. Once preview/production is up to date, you'll be able to save empty strings in the dev cp and they will fall back to the default locale when displayed, then.
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Sorry, only one part of the problem has been fixed. The "Updated add-ons" list works correctly now. However, add-on information is still cached across locales so that http://preview.addons.mozilla.org/en-US/firefox/addon/1865 and http://preview.addons.mozilla.org/de/firefox/addon/1865 display the same info (check the homepage link, it should be different). Also, when displaying the German info the fallback doesn't work - title and homepage are there (these fields have been entered) but description is missing (that field only exists in English). Finally, http://preview.addons.mozilla.org/es-ES/firefox/search?q=Adblock+Plus&status=4 still doesn't find Adblock Plus - whereas the same search in English does.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Yeah. Fixed in trunk means "not pushed to preview yet". Sorry if that was unclear.
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
I was confused because something definitely *was* pushed to preview. Yes, testing with http://remora.stage.mozilla.com/ now I only see one glitch that is not dependent on locale - probably a different issue.
Blocks: 375255
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.