Solprovider Lenya Kongregate Registration for Free Flash Games and Chat with solprovider

Fixing Language in Flow

Flow usually discards the visitor's choice of language, because the URLs used do not include the language. This explains how to fix it.

Download formfixer.xsl.
Put the file in:
{pub}/flow

In all your XMAPs, find every instance of this line:
<map:transform type="forms"/>

And add these lines directly after:
<map:transform src="flow/formfixer.xsl">
<map:parameter name="language" value="{page-envelope:document-language}"/>
</map:transform>


And change your continuation match to remove the underscore:
<!-- Flow Continuation -->
<map:match pattern="**/*_*.more">
<map:call continuation="{2}"/>
</map:match>


<< Flow ProcessFields >>

Contact Solprovider
Paul Ercolino