I’m learning sitecore.
I would like to render flash video which should swap between two languages depending the current language selected.
Ex:
If I select English, I should render english version of the video and if French selected, french version of the video should render.I have both versions of the flash files.
How can i achieve this using xslt or JS? Any help is appreciated.
Thanks in advance.
You can use the xslt helper function
sc:language()to get the current language of the page.A rough example :
Hope this helps 🙂