thank you for this hint Joerg, this solves the problem!
<map:match pattern="*/**">
<map:act type="locale">
<map:select type="resource-exists">
<map:when test="./{lang}/sitemap.xmap">
<map:mount check-reload="yes" src="{lang}/{1}/" uri-prefix="{1}"/>
</map:when>
<map:otherwise>
<map:mount check-reload="yes" src="en/{1}/" uri-prefix="{1}"/>
</map:otherwise>
</map:select>
</map:act>
</map:match>
kind regards, marco friedrich
Joerg Heinicke wrote:
On 04.06.2004 13:35, Marco Friedrich wrote:
hello users!
i have an question on localisation and the sitmap.
i use coplets for localisation in different directorys.
coplets/de/home/hello.xml coplets/en/home/hello.xml
here is an summary from my sitemap.xmap
<map:match pattern="*/**">
<map:act type="locale">
<map:mount check-reload="yes" src="{lang}/{1}/" uri-prefix="{1}"/>
</map:act>
</map:match>
the user see only the coplets in his language.
now my problem. how can i check if the directory coplets/<lang>/... exists? ive not i woult try an default coplets/en/.. directory.
is there any soulution for this problem?
ResourceExistsAction or ResourceExistsSelector.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
