The "Build Your Own" link in the navigation menu is hardcoded to english

RESOLVED FIXED

Status

addons.mozilla.org Graveyard
Administration
--
minor
RESOLVED FIXED
11 years ago
2 years ago

People

(Reporter: clouserw, Assigned: wenzel)

Tracking

Details

(Reporter)

Description

11 years ago
In the navigation menu, the "Build Your Own" link is hardcoded to http://developer.mozilla.org/en/docs/Extensions, despite documentation existing in other languages.

We can't just drop LANG in there though, because documentation doesn't exist in all the languages we support.
(Reporter)

Comment 1

11 years ago
Pulled from the feedback page, a good comment from Pawell:

The Extension part of the link is usually translated. So, there is no way how to do this automatically. I would go with 'http://developer.mozilla.org' . _('sidebar_navlink_build_your_own_href') The same issue is with http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox at search engines page. --Pawell 21 January 2007
(Assignee)

Comment 2

11 years ago
I fixed this in SVN r2332. I added the links to the l10n file as suggested by Pawell (localizing the path, keeping the base URL hardcoded).

I also localized all URLs that I could find to be present on MDC.

The two msg ids are
"sidebar_navlink_build_your_own_href"
and
"addons_searchengines_makeyourown_href"

respectively.
Assignee: nobody → fwenzel
(Assignee)

Updated

11 years ago
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Component: Add-ons → Administration
QA Contact: add-ons → administration
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.