Open framework > php > class-breadcrumb.php, find this code
/* If viewing search results. */
elseif ( is_search() )
$trail['trail_end'] = sprintf( __( 'Search results for "%1$s"', $textdomain ), esc_attr( get_search_query() ) );
I saw where the string is, but I don’t understand why WPML doesn’t find it.
I want to keep the possibility to transalte it in other languages.
Open up wp-contentthemesenfoldframeworkphpclass-breadcrumb.php and delete following line:
$textdomain = 'avia_framework';
Then replace all occurences of
We’ll fix this in the next version. The problem is that WPML doesn’t “read” variables – thus it will only translate text strings if the textdomain is hardcoded.
The topic ‘Breadcrumbs – transalte "Search results for" with WPML’ is closed to new replies.