I needed to have multilingual keywords & descriptions on my site, so I created a plugins which uses qTranslate to do exactly this.
Check it out here, and let me know what you think.
http://wordpress.org/extend/plugins/qtranslate-meta/
John
your-web-site\wp-content\plugins\wordpress-seo\frontend\class-frontend.php
class WPSEO_Frontend { ~ line 3function tt($var) {
return __($var);
}return esc_html( strip_tags( stripslashes($title ) ) );return esc_html( strip_tags( stripslashes( $this->tt( $title ) ) ) ); echo "\t<meta name='keywords' content='".esc_attr( strip_tags( stripslashes( $metakey ) ) )."'/>\n"; echo "\t<meta name='keywords' content='".esc_attr( strip_tags( stripslashes( $this->tt($metakey) ) ) )."'/>\n";return $metadesc; return $this->tt($metadesc);return esc_html( strip_tags( stripslashes( apply_filters( 'wpseo_title', $title ) ) ) );return esc_html( strip_tags( stripslashes( apply_filters( 'wpseo_title', $title ) ) ) );return esc_html( strip_tags( stripslashes( $this->tt( apply_filters( 'wpseo_title', $title ) ) ) ) );echo "<meta name='keywords' content='".esc_attr( strip_tags( stripslashes( $this->tt($metakey) ) ) )."'/>\n";/*echo "<meta name='keywords' content='".esc_attr( strip_tags( stripslashes( $this->tt($metakey) ) ) )."'/>\n"*/;echo "<meta name='description' content='".esc_attr( strip_tags( stripslashes( $metadesc ) ) )."'/>\n";/*echo "<meta name='description' content='".esc_attr( strip_tags( stripslashes( $metadesc ) ) )."'/>\n"*/;
me a beer GhostMaster wrote:2 SEO plugins at the same time? Are you sure?
Return to qTranslate Support Forum
Users browsing this forum: Google [Bot], Google Adsense [Bot], jakobolsen and 11 guests