Change image based on language

Hello,

I have a button that is set to an image that I would like to to change based on the language selected. How do I capture the language and use it as a parameter? The language macros don’t do anything other than display the current language.

Thanks

Hi Ancr2001,
You can get current language and set other using ScriptCase. Please follow this steps.
[SIZE=4]
Example to: Get current language[/SIZE]

$current_lang=sc_get_language(); //get current lang
echo $current_lang; // display current lang

[SIZE=4]Example to: Change language[/SIZE]

sc_set_language('en_us');//set lang to en_us