Hi there,
Certain documents we are creating have to be available in at least two languages. In order to make translation easy and ensure that it's always up to date, my favorite solution would be to have a structure like this:
<p lang="de">Dies ist ein Absatz.</p> <p lang="en">This is a paragraph.</p>
<img src="img/de/menu1.png" lang="de" /> <img src="img/en/menu1.png" lang="en" />
<p lang="de">Dies ist ein weiterer Absatz.</p> <p lang="en">This is yet another paragraph.</p>
That is, have all the languages on the same page, paragraph by paragraph.
However, there should be an option to only show one particular language at a time. While this should be easy to do with CSS/JS (just set elements with a certain attribute to "display: none;"), I have no idea how to implement such a switch for a wiki page. It's probably very simple, so I just need to be pointed in the right direction.
Has anyone done something like this before? I'd greatly appreciate some tips!
-- Frederik