this is in my opinions one of the most important issues in a web shop - to be global by being local - but how can I display flags instead of non-appearing drop down menu? like oscommerce automatically make it. The current drop down menu is non-appearing and this might cause a huge amount of vistors to leave the site as they enter if they dont find their local language fast.......noone know how to do this?
Thanks for the tip, I got it working just right… except for a minor inconvenient.
When the language names have accented chars, like “ç”, “ê”, etc. the image url gets encoded, and -strangely enough- the images with those encoded names stopped working (maybe it is just the way my server is configured, but...)
I solved the issue by changing the image URL from:
$this->htmlEscape($_lang->getName()) . '.gif')
$this->htmlEscape($_lang->getCode()) . '.gif')
Using the getCode instead of the getName allowed me to get the “clean” storeview code name that I was able to use for the icon filenames.
Just to share my experience, maybe it might help someone else…
I am also a newbe, so please forgive me:
I have aquired a template , istalled it and all is working.
So far so good, now I am toutching the real stuff (starting).
Standard the laguage switchs is ok:
<img src="http://www.sambal-toko.com/skin/frontend/blank/theme075/images/flag_english.gif" />
BUT when i add a french store I get:
<img src="http://www.sambal-toko.com/skin/frontend/blank/default/images/flag_french.gif" />
SO the skin theme is not taken into account.
Where do I adapt??
I have noticed that the switch/flags.html and switch/languages.html are both in the default
but I cannot find switch/languages.htm in the theme075 ..