Closed Bug 1416408 Opened 8 years ago Closed 7 years ago

Some of the embedded live examples are not showing properly.

Categories

(Developer Documentation Graveyard :: Localization, enhancement, P1)

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vminame, Assigned: cmills)

References

()

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details While I'm translating the article, some of the embedded live examples are not showing properly. Any help would be appreciated.
Assignee: nobody → cmills
Priority: P5 → P1
Hi there! They are not showing up because the ID of the heading that the macro calls reference to pull in the code for the example is wrong in the translation. For example, in the English version there is a heading "The Grid container". If you look at the text in source mode you'll see this heading looks like so: <h2 id="The_Grid_container">The Grid container</h2> The macro call in this document section that creates the live example looks like so: <p>{{ EmbedLiveSample('The_Grid_container', '200', '330') }}</p> In your Korean translation, the heading looks like this: <h2 id="그리드_컨테이너">그리드 컨테이너</h2> But your macro call is still showing as <p>{{ EmbedLiveSample('The_Grid_container', '200', '330') }}</p> To fix this and make the live sample work, you need to change this to <p>{{ EmbedLiveSample('그리드_컨테이너', '200', '330') }}</p> You need to do the same with all the other macro calls too — they need to reference the IDs of the heading they are under. Let me know if that all makes sense; always happy to help.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: P1 → P5
Priority: P5 → P1
woot! It works! Those auto generated IDs for the heading was puzzling, because I couldn't change it. Now I know how the embedded live samples works. Thanks for the help! :)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.