Hello there,
I wonder if there is a possibility to use separate translations for "Show/Hide" Button with EaysSpoiler and WPML-Plugin. If this is helping you, here's some code making the theme I use checking which language is currently used
function webtreats_lang_test( $atts, $content = null ) {
extract(shortcode_atts(array(
'lang' => '',
), $atts));
$lang_active = ICL_LANGUAGE_CODE;
if($lang == $lang_active){
return do_shortcode($content);
}
}
add_shortcode('wpml_translate', 'webtreats_lang_test');
see more:
http://mysitemyway.com/docs/index.php/Using_WPML#WPML_shortcodeThank you for your effort and nice plugin!