wordpress/wp-content/themes/basic/themify/themify-plugin-compatibility.php
/**
     * Make dynamic strings in Themify theme available for translation with WPML String Translation
     * @param $context
     * @param $name
     * @param $value
     * @since 1.5.3
     */
Make dynamic strings in Themify theme available for translation with WPML String Translation
@param $context
@param $name
@param $value
@since 1.5.3
Make dynamic strings in Themify theme available for translation with WPML String Translation @param $context @param $name @param $value @since 1 . 5 . 3
function themify_register_wpml_strings($context, $name, $value) {
	$value = maybe_unserialize($value);
	if (is_array($value)) {
	    foreach ($value as $k => $v) {
		themify_register_wpml_strings($context, $k, $v);
	    }
	} else {
	    $translatable = array(
		'setting-footer_text_left',
		'setting-footer_text_right',
		'setting-homepage_welcome',
		'setting-action_text',
	    );
	    foreach (array('one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten') as $option) {
		$translatable[] = 'setting-slider_images_' . $option . '_title';
		$translatable[] = 'setting-header_slider_images_' . $option . '_title';
		$translatable[] = 'setting-footer_slider_images_' . $option . '_title';
	    }
	    if (stripos($name, 'title_themify-link') || in_array($name, $translatable, true)) {
		icl_register_string($context, $name, $value);
	    }
	}
    }
function themify_register_wpml_strings ( $ context , $ name , $ value ) { $ value = maybe_unserialize ( $ value ) ; if ( is_array ( $ value ) ) { foreach ( $ value as $ k => $ v ) { themify_register_wpml_strings ( $ context , $ k , $ v ) ; } } else { $ translatable = array ( 'setting-footer_text_left' , 'setting-footer_text_right' , 'setting-homepage_welcome' , 'setting-action_text' , ) ; foreach ( array ( 'one' , 'two' , 'three' , 'four' , 'five' , 'six' , 'seven' , 'eight' , 'nine' , 'ten' ) as $ option ) { $ translatable [ ] = 'setting-slider_images_' . $ option . '_title' ; $ translatable [ ] = 'setting-header_slider_images_' . $ option . '_title' ; $ translatable [ ] = 'setting-footer_slider_images_' . $ option . '_title' ; } if ( stripos ( $ name , 'title_themify-link' ) || in_array ( $ name , $ translatable , true ) ) { icl_register_string ( $ context , $ name , $ value ) ; } } }
Make dynamic strings in Themify theme available for translation with WPML String Translation
 @param $context
 @param $name
 @param $value
 @since 1.5.3
Make dynamic strings in Themify theme available for translation with WPML String Translation @param $context @param $name @param $value @since 1 . 5 . 3