<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Google Translation Tip</title>
	<atom:link href="http://ottopress.com/2011/google-translation-tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://ottopress.com/2011/google-translation-tip/</link>
	<description>You have to use an Ottopress to get fresh squeezed Otto.</description>
	<lastBuildDate>Fri, 17 May 2013 22:57:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta3-24284</generator>
	<item>
		<title>By: Sigonrong Dari Gua Hiro</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-9453</link>
		<dc:creator>Sigonrong Dari Gua Hiro</dc:creator>
		<pubDate>Wed, 17 Aug 2011 19:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-9453</guid>
		<description><![CDATA[I tried to make my own plugin consisting only both code above. Then I noticed that javascript was added at the bottom of my site. But, all pre and code are remain changed by google translator. (sorry for my bad english)]]></description>
		<content:encoded><![CDATA[<p>I tried to make my own plugin consisting only both code above. Then I noticed that javascript was added at the bottom of my site. But, all pre and code are remain changed by google translator. (sorry for my bad english)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philippe &#124; photofloue</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8713</link>
		<dc:creator>philippe &#124; photofloue</dc:creator>
		<pubDate>Mon, 06 Jun 2011 22:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8713</guid>
		<description><![CDATA[Thanks Otto for the original article, and for this tip on automatic translation.
As Willem mentioned (merci !), I thought Google was doing OK on that translation job — except for code, but that is fixed now.]]></description>
		<content:encoded><![CDATA[<p>Thanks Otto for the original article, and for this tip on automatic translation.<br />
As Willem mentioned (merci !), I thought Google was doing OK on that translation job — except for code, but that is fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aldo</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8679</link>
		<dc:creator>Aldo</dc:creator>
		<pubDate>Sat, 04 Jun 2011 07:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8679</guid>
		<description><![CDATA[Good job, Alex! Now the code wrapped in SHE shortcodes isn&#039;t translated anymore by Google. Thanks! ;)]]></description>
		<content:encoded><![CDATA[<p>Good job, Alex! Now the code wrapped in SHE shortcodes isn&#8217;t translated anymore by Google. Thanks! <img src='http://ottopress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex (Viper007Bond)</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8673</link>
		<dc:creator>Alex (Viper007Bond)</dc:creator>
		<pubDate>Fri, 03 Jun 2011 23:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8673</guid>
		<description><![CDATA[Please upgrade to the latest version of my plugin and then visit it&#039;s settings page. It allows you to select which version of the Javascript highlighting package you want to use, either v2.x (the one you&#039;re using now) or v3.x (the one you don&#039;t like). The plugin has received new features and bug fixes in the versions since the one you&#039;re using now. ;)

Also I&#039;ll add this to my plugin. Thanks for the tip!]]></description>
		<content:encoded><![CDATA[<p>Please upgrade to the latest version of my plugin and then visit it&#8217;s settings page. It allows you to select which version of the Javascript highlighting package you want to use, either v2.x (the one you&#8217;re using now) or v3.x (the one you don&#8217;t like). The plugin has received new features and bug fixes in the versions since the one you&#8217;re using now. <img src='http://ottopress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Also I&#8217;ll add this to my plugin. Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Willem</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8665</link>
		<dc:creator>Willem</dc:creator>
		<pubDate>Fri, 03 Jun 2011 12:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8665</guid>
		<description><![CDATA[Actually Philippe Durand, the author of the post in question, said that the automatic translation by Google was NOT bad. ;) He also mentions your blog as indispensable for people interested in Wordpress ...]]></description>
		<content:encoded><![CDATA[<p>Actually Philippe Durand, the author of the post in question, said that the automatic translation by Google was NOT bad. <img src='http://ottopress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  He also mentions your blog as indispensable for people interested in WordPress &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aldo</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8657</link>
		<dc:creator>Aldo</dc:creator>
		<pubDate>Fri, 03 Jun 2011 05:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8657</guid>
		<description><![CDATA[Otto, I can assure you that it works well! :)
So this means that Google process the page after the javascript has made those changes.

OT
FYI, I didn&#039;t receive any email from your subcription manager. I checked my spam box and has no email from your domain.]]></description>
		<content:encoded><![CDATA[<p>Otto, I can assure you that it works well! <img src='http://ottopress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
So this means that Google process the page after the javascript has made those changes.</p>
<p>OT<br />
FYI, I didn&#8217;t receive any email from your subcription manager. I checked my spam box and has no email from your domain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otto</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8643</link>
		<dc:creator>Otto</dc:creator>
		<pubDate>Thu, 02 Jun 2011 17:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8643</guid>
		<description><![CDATA[I kinda doubt that would actually work. I don&#039;t think Google is doing the translation bit after processing the Javascript. I think it&#039;s reading the actual HTML and modifying it before that happens.]]></description>
		<content:encoded><![CDATA[<p>I kinda doubt that would actually work. I don&#8217;t think Google is doing the translation bit after processing the Javascript. I think it&#8217;s reading the actual HTML and modifying it before that happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aldo</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8622</link>
		<dc:creator>Aldo</dc:creator>
		<pubDate>Thu, 02 Jun 2011 09:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8622</guid>
		<description><![CDATA[Thanks for sharing this, Otto.
I would share a tip for adding the class &quot;notranslate&quot; to some elements via jQuery.

Let&#039;s say we want to add this class to these &quot;not-to-be-translated&quot; elements: code, pre and any element with &quot;.code&quot; class.
Let&#039;s start.

1. Add these lines to your functions.php file:
[php]wp_register_script( &#039;googlenotranslate&#039;, get_stylesheet_directory_uri() . &#039;/js/google_no_translate.js&#039;, array( &#039;jquery&#039; ), false, true );
wp_enqueue_script( &#039;googlenotranslate&#039; );[/php]

2. Create a new file and paste this:
[javascript]jQuery(document).ready(function($){
	$(&quot;pre&quot;).addClass(&#039;notranslate&#039;);   // Targets PRE elements
	$(&quot;code&quot;).addClass(&#039;notranslate&#039;);  // Targets CODE elements
	$(&quot;.code&quot;).addClass(&#039;notranslate&#039;); // Targets ANY element with .code class
	// Add other elements or class or ID here
});[/javascript]

3. Save this file with the name &quot;google_no_translate.js&quot; and put it in a subdirectory &quot;js&quot; of your theme directory.

You&#039;re done.

Obviously, if you&#039;re using a custom plugin for all your custom functions, you&#039;ll modify that file instead of the functions.php file. This will preserve all your custom features, even if you&#039;ll change your existing theme.

I&#039;m not a jQuery expert, so I wonder if those three lines with &#039;addClass&#039; could be written in one line only.]]></description>
		<content:encoded><![CDATA[<p>Thanks for sharing this, Otto.<br />
I would share a tip for adding the class &#8220;notranslate&#8221; to some elements via jQuery.</p>
<p>Let&#8217;s say we want to add this class to these &#8220;not-to-be-translated&#8221; elements: code, pre and any element with &#8220;.code&#8221; class.<br />
Let&#8217;s start.</p>
<p>1. Add these lines to your functions.php file:</p>
<pre class="brush: php; title: ; notranslate">wp_register_script( 'googlenotranslate', get_stylesheet_directory_uri() . '/js/google_no_translate.js', array( 'jquery' ), false, true );
wp_enqueue_script( 'googlenotranslate' );</pre>
<p>2. Create a new file and paste this:</p>
<pre class="brush: jscript; title: ; notranslate">jQuery(document).ready(function($){
	$(&quot;pre&quot;).addClass('notranslate');   // Targets PRE elements
	$(&quot;code&quot;).addClass('notranslate');  // Targets CODE elements
	$(&quot;.code&quot;).addClass('notranslate'); // Targets ANY element with .code class
	// Add other elements or class or ID here
});</pre>
<p>3. Save this file with the name &#8220;google_no_translate.js&#8221; and put it in a subdirectory &#8220;js&#8221; of your theme directory.</p>
<p>You&#8217;re done.</p>
<p>Obviously, if you&#8217;re using a custom plugin for all your custom functions, you&#8217;ll modify that file instead of the functions.php file. This will preserve all your custom features, even if you&#8217;ll change your existing theme.</p>
<p>I&#8217;m not a jQuery expert, so I wonder if those three lines with &#8216;addClass&#8217; could be written in one line only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: franck</title>
		<link>http://ottopress.com/2011/google-translation-tip/comment-page-1/#comment-8612</link>
		<dc:creator>franck</dc:creator>
		<pubDate>Thu, 02 Jun 2011 07:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=541#comment-8612</guid>
		<description><![CDATA[Thank you,
from a french.]]></description>
		<content:encoded><![CDATA[<p>Thank you,<br />
from a french.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Object Caching 408/426 objects using xcache

 Served from: ottodestruct.com @ 2013-05-19 06:00:15 by W3 Total Cache -->