Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Translate 'Search' button | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Translate 'Search' button

Translate 'Search' button

Posted: April 9, 2014 at 2:16 am

Viewing 1 reply thread


Gijsbert Vandeweerdt

April 9, 2014 at 2:16 am

Hello,

Sorry to come again with this small things, but I wan’t the translations to be correct for our customers.

Can’t get to ‘search’ button to be translated. Did make the translation in GlotPress but no change.

Screenshot:
http://sintjansberg.be/downloads/Agenda__Kasteelklooster_SintJansberg_20140409_101253_20140409_101315.png

Thank you


Dean

  • Support Staff

April 9, 2014 at 4:58 am

Hi,

That string is not translatable, I’ll raise a ticket to edit it in a future version.

The only way I can see to replace it is via a string replace

function replace_string( $content ) {
$x = get_the_ID();
	if($x == '12') {
    $content = str_replace('Search', 'Wibble', $content);
    return $content;
	}
	else {
		return $content;
	}
}

add_filter( 'the_content', 'replace_string', 100 );

Obviously replace 12 with the post or page ID. If the shortcode is in a widget, it may prove harder to do.

Viewing 1 reply thread

The support post ‘Translate 'Search' button’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server