Hi everyone.
I am installing a dual language dokuwiki on our intranet (ko,en). I have read as much as the dokuwiki documentation wiki as possible and find two different approaches listed.
The first is in the
http://wiki.splitbrain.org/wiki:multilingual_content.php and continued in
http://wiki.splitbrain.org/wiki:multilingual_content:local.php . My conclusion after reading these articles is that ko:foo:bar is the preferred way of keeping the data separate.
The second approach is at
http://wiki.splitbrain.org/wiki:tips:nls . This approach allows for multiple versions of the page in the different languages differentiated by a language name extension, in other words using foo:bar.ko
For us, the ideal site would include elements from both of these approaches:
1. The root is korean and our english data is stored in
en:foo:bar namespace.
2. The interface language changes according to the namespace (if root -> ko; if en: -> en). To do that am using the script found at the
http://wiki.splitbrain.org/wiki:multilingual_content:local.php
3. Now, I would like to add the graphics of the flags, as described by Stéphane Gully (and also by Cha Reeseo in text format).
4. As the korean fonts used in the default template do not look so nice in english, I will install the multitemplate code
http://wiki.splitbrain.org/wiki:tpl:templates?s=multitemplate#multitemplate This will allow me to use a copy of the default template with better english fonts for the en: namespace.
5. Finally, the complicated one - taking from Cha Reeseo's article in wiki:tips:nls it seems possible to make a link of every new article into the alternate language namespace (root or en:) with a note that there is a new article with this title waiting translation. I realize that with open editing it is impossible to have mirror installations, but at least the core content will be available.
Question 1: Is there code that opens two side by side views of the original article and its translation comparison for on-the-spot translation or refinement purposes. Perhaps by a variation on the discussion of putting a wiki in the footer
http://forum.dokuwiki.org/thread/146 .
The php is beyond me, but it seems possible.
At this point where i run into the namespace issue - Reeseo's solution calls for the language to be in an extension
foo:bar.ko rather than in the namespace
ko:foo:bar.
Question 2: What are the pros and cons of the two approaches? Which is most efficient for non western searches?
Your comments and suggestions are most welcome.
Tito Vergara