Closed Bug 728073 Opened 9 years ago Closed 8 years ago

MDN links in the Style Inspector are not localized

Categories

(DevTools :: Inspector, defect)

11 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: contact, Assigned: avp)

Details

(Whiteboard: [good first bug][mentor=paul][lang=js])

Attachments

(2 files)

MDN links in the Style Inspector (see the attached screenshot) point out to English pages, even if my system is in French and that corresponding French pages are available on the MDN website. For example, we see in the attached screenshot a link for the "background-color" property. This link points out to the following page:

https://developer.mozilla.org/en/CSS/background-color

even if a French translation is available:

https://developer.mozilla.org/fr/CSS/background-color

We should be pointed out in the system-language page (if available) before the English one.
Internally, we just need to remove the `en` from the URL:
http://mxr.mozilla.org/mozilla-central/source/browser/devtools/styleinspector/CssHtmlTree.jsm#740

MDN will automatically redirect to the right page.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [good first bug][mentor=paul][lang=js]
Assignee: nobody → abhishekp.bugzilla
Status: NEW → ASSIGNED
Attachment #688804 - Flags: feedback?(paul)
Comment on attachment 688804 [details] [diff] [review]
Localized MDN link in Style Inspector

Thanks!
Attachment #688804 - Flags: feedback?(paul) → review+
Whiteboard: [good first bug][mentor=paul][lang=js] → [good first bug][mentor=paul][lang=js][land-in-fx-team]
https://hg.mozilla.org/integration/fx-team/rev/efbba3859110
Whiteboard: [good first bug][mentor=paul][lang=js][land-in-fx-team] → [good first bug][mentor=paul][lang=js][fixed-in-fx-team]
https://tbpl.mozilla.org/?rev=8a30e07815ff
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][mentor=paul][lang=js][fixed-in-fx-team] → [good first bug][mentor=paul][lang=js]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.