Closed Bug 1526313 Opened 6 years ago Closed 6 years ago

SeeCompatTable: ID value for ru is en-US

Categories

(developer.mozilla.org Graveyard :: KumaScript, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1376400

People

(Reporter: sderxc, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do?

1. Go to https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/flatMap
2. Click on browser compatibility link https://monosnap.com/file/ovt8jI5mfB6Ec7gFpk30TJN4mPJcsX

What happened?

Nothing, just error https://monosnap.com/file/GrOOzl6lWQRECVA9qZ6f1PqqLJXmRn

What should have happened?

Scroll to block with "Browser_compatibility" id

Is there anything else we should know?

https://monosnap.com/file/RQRSWgDmuls15nfRiLHPxqjVdglGVR target block has localizated id value

Summary: ID value localisation breaks the link → ID value localization breaks the link

This is from the KumaScript macro SeeCompatTable:

https://github.com/mdn/kumascript/blob/master/macros/SeeCompatTable.ejs#L12

The ID needs to match the ID once "Browser Compatibility" is translated into Russian. "Поддержка браузерами" seems to be a common translation:

https://developer.mozilla.org/ru/search?q=%D0%9F%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%BA%D0%B0+%D0%B1%D1%80%D0%B0%D1%83%D0%B7%D0%B5%D1%80%D0%B0%D0%BC%D0%B8

An ID of "#Поддержка_браузерами" should work.

Status: UNCONFIRMED → NEW
Component: Localization → KumaScript
Ever confirmed: true
Summary: ID value localization breaks the link → SeeCompatTable: ID value for ru is en-US

Kadir, can you move this bug to KumaScript?

Flags: needinfo?(a.topal)

We found a dupe (bug 1376400) from 2017, I'll move it.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(a.topal)
Resolution: --- → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.