Localization/translation problem
-
I use the following code to display translation of Read More tag when using WPML.
add_filter( 'gettext', 'x_translate_read_more', 9999, 3 ); function x_translate_read_more( $translated, $text, $domain ) { if($text=='Read More' && ICL_LANGUAGE_CODE == 'de' ) return 'Weiterlesen'; else return $translated; }
With your plugin, however, it does not work. I was hoping to have more control over the read more with your plugin, but this is a deal breaker.
Might you have a solution?
- The topic ‘Localization/translation problem’ is closed to new replies.