{"id":14576,"date":"2011-08-23T20:02:52","date_gmt":"2011-08-23T20:02:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/translate-this-google-translate-web-element-shortcode\/"},"modified":"2011-08-23T20:44:10","modified_gmt":"2011-08-23T20:44:10","slug":"translate-this-google-translate-web-element-shortcode","status":"closed","type":"plugin","link":"https:\/\/bn.wordpress.org\/plugins\/translate-this-google-translate-web-element-shortcode\/","author":8253129,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.2.1","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Translate This - Google Translate Web Element Shortcode","header_author":"Reuben Thiessen","header_description":"","assets_banners_color":"","last_updated":"2011-08-23 20:44:10","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/reubenthiessen.com\/","header_plugin_uri":"https:\/\/code.google.com\/p\/gtranslate-web-element-for-wordpress\/","header_author_uri":"http:\/\/www.reubenthiessen.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":10037,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[221,150,80,95],"plugin_category":[43,59],"plugin_contributors":[86972],"plugin_business_model":[],"class_list":["post-14576","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax","plugin_tags-google","plugin_tags-shortcode","plugin_tags-translate","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-reubenthiessen","plugin_committers-reubenthiessen"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/translate-this-google-translate-web-element-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a Wordpress plugin allows you to use a shortcode like this,<code>[translate_this lang=\"fr\"]un texte en fran\u00e7ais[\/translate_this]<\/code>,<\/p>\n\n<p>to automatically insert Google's Translate Web Element which creates an AJAX-enabled link that will translate the block of text in-line.<\/p>\n\n<p>For more information about the Google Translate Web Element, <a href=\"http:\/\/translate.google.com\/translate_tools\">click here.<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>translate_this_plugin.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use the shortcode <code>[translate_this][\/translate_this]<\/code><\/li>\n<\/ol>\n\n<p>Parameters:\n* <code>lang=\"xx\"<\/code> - <strong>Required.<\/strong> Where xx is the two character language code (i.e. en for English).\n* <code>background=\"#XXXXXX\"<\/code> - <em>Optional.<\/em>  Where #XXXXXXX is a hexadecimal color code. Defaults to <em>transparent<\/em>.\n* <code>base_lang=\"xx\"<\/code> - <em>Optional.<\/em>  Where xx is the two character language code (i.e. en for English).  Defaults to \"en\" for English.<\/p>\n\n<!--section=faq-->\n<p>Why doesn't it work?<\/p>\n\n<p>The default base language is English.  If you put the short code around a block of English it doesn't need to translate it.\nAlso, check the two character language code is supported by Google Translate.  Make sure you have the <em>lang<\/em> parameter in there and the value is language you want to translate from.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Version.<\/li>\n<\/ul>","raw_excerpt":"Insert a shortcode to use Google Translate&#039;s AJAX text block translator.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14576"}],"author":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/reubenthiessen"}],"wp:attachment":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14576"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14576"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14576"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14576"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14576"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}