Edit: You can now preview the changes live. Also, the pull request got accepted!
I just submitted a GitHub PR for adding multilingual support to Mozilla’s HTML5 Sandstone slidedeck. The selection is persistent across slide changes, and in Firefox, the URL bar will update the lang attribute as well.
Pictures are worth thousands of words, so here you go:
To add languages:
- Add the style tags to the stylesheet
- Modify the language menu
- Place your translation within <div> tags with language code class names
<div class=”en-US”>This is English.</div>
If you would like to use this now, my changes are on a GitHub fork.
Massive thanks go out to :MattN who greatly helped me out. Thanks Matt!