On 11/29/05, Roman Mario Xerxes Rometsch <[EMAIL PROTECTED]> wrote:
> i'm trying to implement the generic language switching as mentioned in
> http://wiki.apache.org/lenya/HowToLanguageSwitching at the bottom of the
> page. stylesheet>
>
> Now there's the variable $languages, which should contain the available
> languages, but it's empty. Maybe someone has a idea where I have to enable
> the function, that this variable will be passed to this file.
> (Maybe also someone has implemented this feature already and can post his
> xsl
> file?)
Did you add this line from the instructions to your XMAP?
<map:parameter name="languages"
value="{page-envelope:publication-languages-csv}"/>
You might want to read these pages:
http://solprovider.com/lenya/variables
http://solprovider.com/lenya/&cat=Language
I have not written a generic language switcher yet. (Our production
website has two languages.) Maybe I will have time tomorrow if you
still have issues.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]