<?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/"
		>
<channel>
	<title>Comments for G-ROC web applications</title>
	<atom:link href="http://www.g-roc.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.g-roc.com</link>
	<description>PHP freelancer, web developer, mobile web enthusiast</description>
	<lastBuildDate>Fri, 06 Aug 2010 20:02:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on SSH vs. Putty private key files (.ppk) on MAC OS X by How to connect to Amazon EC2 from Mac OS X &#171; FeedMind</title>
		<link>http://www.g-roc.com/29_ssh-vs-putty-private-key-files-ppk-on-mac-os-x.html/comment-page-1#comment-95</link>
		<dc:creator>How to connect to Amazon EC2 from Mac OS X &#171; FeedMind</dc:creator>
		<pubDate>Fri, 06 Aug 2010 20:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/29_ssh-vs-putty-private-key-files-ppk-on-mac-os-x.html#comment-95</guid>
		<description>[...] I found the correct information in a blog post, you need to use Puttygen to convert the Amazon .ppk file to OpenSSH format. The OpenSSH format can [...]</description>
		<content:encoded><![CDATA[<p>[...] I found the correct information in a blog post, you need to use Puttygen to convert the Amazon .ppk file to OpenSSH format. The OpenSSH format can [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Safari-Bug or Not? DOM Exception 7 by Dwight Vietzke</title>
		<link>http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html/comment-page-1#comment-94</link>
		<dc:creator>Dwight Vietzke</dc:creator>
		<pubDate>Fri, 23 Jul 2010 02:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html#comment-94</guid>
		<description>Hi all,

The problem sometimes, as eluded to above, is that you can&#039;t modify elements with .innerHTML or use other element modification methods (document.write() I think) when the page is served as XML. That is content-type &#039;application/xhtml+xml&#039;. This is true for many browsers (all?), including Chrome that can read true XML pages. So pages served as XML will error on .innerHTML, unless you create the element in javascript, append it the the document and then use .innerHTML. Why it works for added elements and not existing ones is beyond me, but oh well.

Otherwise the problem might just be as stated, that you are trying to modify something that doesn&#039;t (clearly) exist yet, is considered &#039;read only&#039; or something.

So what to do it the first case of an XML page?

I found this on the web:

BetterInnerHTML v1.2, (C) OptimalWorks.net

Just google the above for the latest version of their .innerHTML replacement code. Works great for me, although I did modify it for may own purposes (made a Dojo style module of it). It uses simple DOM munipulation to accomplish the same thing as .innerHTML.

Hope that helps others who follow this error.</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>The problem sometimes, as eluded to above, is that you can&#8217;t modify elements with .innerHTML or use other element modification methods (document.write() I think) when the page is served as XML. That is content-type &#8216;application/xhtml+xml&#8217;. This is true for many browsers (all?), including Chrome that can read true XML pages. So pages served as XML will error on .innerHTML, unless you create the element in javascript, append it the the document and then use .innerHTML. Why it works for added elements and not existing ones is beyond me, but oh well.</p>
<p>Otherwise the problem might just be as stated, that you are trying to modify something that doesn&#8217;t (clearly) exist yet, is considered &#8216;read only&#8217; or something.</p>
<p>So what to do it the first case of an XML page?</p>
<p>I found this on the web:</p>
<p>BetterInnerHTML v1.2, (C) OptimalWorks.net</p>
<p>Just google the above for the latest version of their .innerHTML replacement code. Works great for me, although I did modify it for may own purposes (made a Dojo style module of it). It uses simple DOM munipulation to accomplish the same thing as .innerHTML.</p>
<p>Hope that helps others who follow this error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Poedit xgettext parser setup reminder by Greece</title>
		<link>http://www.g-roc.com/33_poedit-xgettext-parser-setup-reminder.html/comment-page-1#comment-87</link>
		<dc:creator>Greece</dc:creator>
		<pubDate>Sun, 28 Mar 2010 19:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/33_poedit-xgettext-parser-setup-reminder.html#comment-87</guid>
		<description>Thanks! This save me again (re-installed POEdit...). I wonder why POEdit team does not have this setting by default.</description>
		<content:encoded><![CDATA[<p>Thanks! This save me again (re-installed POEdit&#8230;). I wonder why POEdit team does not have this setting by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Safari-Bug or Not? DOM Exception 7 by goran</title>
		<link>http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html/comment-page-1#comment-86</link>
		<dc:creator>goran</dc:creator>
		<pubDate>Mon, 22 Mar 2010 18:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html#comment-86</guid>
		<description>Works for me too. Thanks a_[w]!</description>
		<content:encoded><![CDATA[<p>Works for me too. Thanks a_[w]!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on levelmedia in multi-language Typo3 sites by René</title>
		<link>http://www.g-roc.com/23_levelmedia-in-multi-language-typo3-sites.html/comment-page-1#comment-83</link>
		<dc:creator>René</dc:creator>
		<pubDate>Fri, 22 Jan 2010 20:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/23_levelmedia-in-multi-language-typo3-sites.html#comment-83</guid>
		<description>Damn thank you. I&#039;ve searched for several hours placing same images for different languages. Now I&#039;ve found your post … it saved me for some ugly workarounds and editors still can upload new images. Thank you.</description>
		<content:encoded><![CDATA[<p>Damn thank you. I&#8217;ve searched for several hours placing same images for different languages. Now I&#8217;ve found your post … it saved me for some ugly workarounds and editors still can upload new images. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Safari-Bug or Not? DOM Exception 7 by NB</title>
		<link>http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html/comment-page-1#comment-70</link>
		<dc:creator>NB</dc:creator>
		<pubDate>Tue, 19 May 2009 23:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html#comment-70</guid>
		<description>Thanks a_[w], that did the trick for me!</description>
		<content:encoded><![CDATA[<p>Thanks a_[w], that did the trick for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Safari-Bug or Not? DOM Exception 7 by a_[w]</title>
		<link>http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html/comment-page-1#comment-69</link>
		<dc:creator>a_[w]</dc:creator>
		<pubDate>Wed, 13 May 2009 17:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/27_safari-bug-or-not-dom-exception-7.html#comment-69</guid>
		<description>For dynamic CSS you can use &quot;innerText&quot; property of STYLE tag object. It works without any errors.</description>
		<content:encoded><![CDATA[<p>For dynamic CSS you can use &#8220;innerText&#8221; property of STYLE tag object. It works without any errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSH vs. Putty private key files (.ppk) on MAC OS X by Nikita Rybak</title>
		<link>http://www.g-roc.com/29_ssh-vs-putty-private-key-files-ppk-on-mac-os-x.html/comment-page-1#comment-66</link>
		<dc:creator>Nikita Rybak</dc:creator>
		<pubDate>Thu, 30 Apr 2009 18:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/29_ssh-vs-putty-private-key-files-ppk-on-mac-os-x.html#comment-66</guid>
		<description>Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Poedit xgettext parser setup reminder by Christher</title>
		<link>http://www.g-roc.com/33_poedit-xgettext-parser-setup-reminder.html/comment-page-1#comment-65</link>
		<dc:creator>Christher</dc:creator>
		<pubDate>Sat, 14 Mar 2009 09:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/33_poedit-xgettext-parser-setup-reminder.html#comment-65</guid>
		<description>Thanks for this tips.</description>
		<content:encoded><![CDATA[<p>Thanks for this tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Poedit xgettext parser setup reminder by Colleen Dick</title>
		<link>http://www.g-roc.com/33_poedit-xgettext-parser-setup-reminder.html/comment-page-1#comment-64</link>
		<dc:creator>Colleen Dick</dc:creator>
		<pubDate>Thu, 29 Jan 2009 19:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-roc.com/33_poedit-xgettext-parser-setup-reminder.html#comment-64</guid>
		<description>Thanks this was very helpful.  Stumbled.  

Now for my question its more of a workflow or best practices question.   supposed you have a lot of exposition already written in the native tongue and stored in static html files.   

for i18n the objective is to have 
translate(_(&#039;About Us Para I&#039;)); ?&gt; in the presentation template where formerly a big paragraph was and move the big paragraph into the catalog. 

What is the best practice to make it easy for the developer to do this.  Here is my stab.   

I&#039;m inserting a line of code like the above in the templates, before each text item I want to translate.  Then I update the catalog so it will extract and merge all the new keys.   then using the source file to cut the original text out of the templates and paste it  nto the catalog.  When I give it to a translator I will have to give him the native language catalog and he will have 2 poedits  open at once so he can see what the actual text is that he is suppose to translate.  Does this make sense or is there an easier way?</description>
		<content:encoded><![CDATA[<p>Thanks this was very helpful.  Stumbled.  </p>
<p>Now for my question its more of a workflow or best practices question.   supposed you have a lot of exposition already written in the native tongue and stored in static html files.   </p>
<p>for i18n the objective is to have<br />
translate(_(&#8216;About Us Para I&#8217;)); ?&gt; in the presentation template where formerly a big paragraph was and move the big paragraph into the catalog. </p>
<p>What is the best practice to make it easy for the developer to do this.  Here is my stab.   </p>
<p>I&#8217;m inserting a line of code like the above in the templates, before each text item I want to translate.  Then I update the catalog so it will extract and merge all the new keys.   then using the source file to cut the original text out of the templates and paste it  nto the catalog.  When I give it to a translator I will have to give him the native language catalog and he will have 2 poedits  open at once so he can see what the actual text is that he is suppose to translate.  Does this make sense or is there an easier way?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
