From: <[EMAIL PROTECTED]> > Hi > > This is how I've done things, maybe it'll help: > > <map:action name="locale" > src="org.apache.cocoon.acting.LocaleAction" > logger="sitemap.action.locale"> > <store-in-session>false</store-in-session> > <create-session>false</create-session> > <store-in-request>true</store-in-request> > <store-in-cookie>false</store-in-cookie> > <locale-attribute>locale</locale-attribute> > <language-attribute>language</language-attribute> > <country-attribute>country</country-attribute> > <variant-attribute>variant</variant-attribute> > </map:action>
You can leave only the <store-in-request> parameter, the others are set by default to the same values. As for using the 'locale' attribute in sitemap it'd be fine to take a look at the i18n samples source. Regards, Konstantin > > : > > <map:act type="locale"> > <map:match pattern="index"> > <map:select type="browser"> > <map:when test="java"> > <map:aggregate element="aggregated"> > <!-- whatever --> > </map:aggregate> > <map:transform type="i18n"> > <map:parameter name="locale" value="{../locale}" /> > </map:transform> > <map:transform src="xslt/browser/x-smiles/index.xslt"> > <map:parameter name="locale" value="{../locale}" /> > </map:transform> > ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]