[dokuwiki] Re: Multilingual in 2008

Hello,

Thank you, I've contacted him.

I found a work-around that satisfies me, using the "default" translation
plugin : "/index.php" could be a home-made php script looking for
HTTP_ACCEPT_LANGUAGE are redirecting to "/doku.php?id=start" or
"/doku.php?id=en:start". Then one can use the flags to manually switch
language anytime during the page browsing.

There is still one thing that I can't solve : the menu translation.
For example, the Sandy's template menu is always in English.
The HTML/PHP code for the menu items is '<li><?php
tpl_link(wl("about"),"About"); ?></li>'. What code should I use so that
the code would be 'tpl_link(wl("en:about"),"About")' for English and
'tpl_link(wl("about"),"A propos")' for French ?

TIA,
    Jo

Le Sam 20 septembre 2008 22:39, Dmitry Katsubo a écrit :
> Hi Joel!
>
> I think you should contact Alexey Remizov and ask him to correct the
> patch to work with 2008-05-05.
>
> The functionality you asking for is supported at level 3, as I have got
> from the plugin description.
>
> I haven't got your idea about "foo.php.[fr|en]": at level 3 you need to
> store your pages with language at 1st namespace level:
>
> /wiki/en/article
> /wiki/ru/article
>
> Have fun!
>
> Joel CARNAT wrote:
>> Hello,
>>
>> I've just installed and configured dokuwiki-2008-05-05.
>> I want to enable the multilangual feature so I read the dedicated web
>> page
>> (http://www.dokuwiki.org/tips:multilingual_content) and tried to apply
>> the patch. It failed, I guess because the patch is to be applied to the
>> 2006
>> source tree.
>>
>> My question is, what is the status of multilingual support as of 2008 ?
>>
>> My actual web site is php-homemade system and I wanted to replace it
>> with a
>> smarter system. My actual way of doing multilingual is :
>> - getting LANG from the Web browser variables.
>> - include/link to foo.php.[fr|en] according to the LANG value.
>> As far as I understood, none of the three levels of internationalization
>> work this way (I mean using the Web browser's LANG). Is there a plugin
>> that I couldn't find that works this way ?
>>
>> Thanks for your help,
>>      Jo
>
>
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>


-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: