Hi All,
I want to configure pipeline such that in case of any locale language it will find the image from corresponding language mapped image folder.
eg,
If locale lang is en then it should find image from images_en folder. But I am not able to assign {2} value in pipeline(it should be the name of image assigned in match pattern).
I define image src as src="forms/submit.gif" in xsp or xml file.According to it, it should find image with name submit.gif from images_en folder.
But here {2} value is not assigned(it assigned images_en\.gif), so it could not find image from images_en folder.
 
<map:match pattern="**forms/**.gif"> 
    <map:act type="locale">
    <map:read src="images_{lang}/{2}.gif" mime-type="image/gif"/>
    </map:act>
   </map:match>
 
Please guide me how to use this concept.
Thanks,
Niket

Reply via email to