Go to the FreeLists Home Page Home Signup Help Login
 



Browse dokuwiki: This Month's ArchiveMain Archive PageRelated postsPrevious by DateNext by Date

[dokuwiki] Multilanguage content with DW

  • From: Raymond Scholz <rscholz@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 16 Jan 2006 21:53:20 +0100
I'm looking for a DW multilanguage (content and interface) enhancement
that can do the following:

1. Document structure (i.e. page IDs) for all languages should be the
   same.  Given a german/english site, the page ID "actors:john_doe"
   should not be named "schauspieler:john_doe" in German.  Since I use
   $conf['useheading'] = 1 the resulting pages titles will look fine
   anyway.
   
2. Media content should be common to all languages.  

3. URIs should be google-friendly, that is: clean and able to being
   spidered without the use of cookies.

   http://server/en/actors/john_doe but not
   http://server/actors/john_doe?lang=en

I'm aware of two patches that equip DW with some sort of multilanguage
capabilities.  The first is from Alexey Remizov and can be found at
<URL:http://wiki.splitbrain.org/wiki:multilingual_content>.

This patch adds a special first namespace (language code) that chooses
the interface language and itself can be influenced by the
HTTP_ACCEPT_LANGUAGE header.  The document structure below the
language namespaces may differ.  This doesn't meet my first
requirement #1.  Further more, I couldn't find a way tweaking it for
#2.  But #3 is met.  Besides that the editing toolbar was broken for
me when manually applying the patch against current DW from DARCS.
Fixing this should be possible with some more effort.

The other patch is from Linas Valiukas and was posted to this list:
<URL:http://www.freelists.org/archives/dokuwiki/08-2005/msg00175.html>

This patch hides the special namespace (language code) from the user
by tweaking wikiFN() so that the page source is loaded dependant on
the chosen language.  Somewhat cool but...

After manually applying the patch to the current development version
of DW, I could find #1 and #2 fulfilled.  But since the patch
completely relies on cookies, #3 couldn't be fulfilled. 

As you can see, there isn't a perfect patch for my special needs, so
I'm going to alter one of these patches.  

If you know of other patches / plugins for DW that may help me, please
speak now.  If you think, the approach is all wrong, speak too. :-)

Cheers, Ray
-- 
Hfr fgebat rapelcgvba!
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • [dokuwiki] Multilanguage content with DW
  • [dokuwiki] Re: Multilanguage content with DW
  • [dokuwiki] Re: Multilanguage content with DW
  • [dokuwiki] Re: Multilanguage content with DW




  • [ Home | Signup | Help | Login | Archives | Lists ]

    All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
    Everything else ©2008 Avenir Technologies, LLC.