<?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 on: Translating Columns</title>
	<atom:link href="http://iain.nl/2008/09/translating-columns/feed/" rel="self" type="application/rss+xml" />
	<link>http://iain.nl/2008/09/translating-columns/</link>
	<description></description>
	<lastBuildDate>Thu, 29 Jul 2010 12:35:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Trond Lossius</title>
		<link>http://iain.nl/2008/09/translating-columns/comment-page-1/#comment-217</link>
		<dc:creator>Trond Lossius</dc:creator>
		<pubDate>Fri, 28 Nov 2008 08:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://iain.nl/?p=167#comment-217</guid>
		<description>Have you looked into the Globalize2 preview app? It is constructing the database differently, more in the way recommended by the chapter in the beta version of Agile Development ed.3 in internationalization.</description>
		<content:encoded><![CDATA[<p>Have you looked into the Globalize2 preview app? It is constructing the database differently, more in the way recommended by the chapter in the beta version of Agile Development ed.3 in internationalization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://iain.nl/2008/09/translating-columns/comment-page-1/#comment-212</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Mon, 24 Nov 2008 05:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://iain.nl/?p=167#comment-212</guid>
		<description>1) since the named_scope uses a value that may change during requests (I18n.locale) it should read:
named_scope :localized, lambda { { :conditions =&gt; { :locale =&gt; I18n.locale } } }
2) With your own example (Post.localized.find(params[:id])) you gave a good reason to use the first variant. To find the same Post in another language params[:id] would have to be different. Which means you need to find out this other id for linking to the post in another language (common task). Which sucks.</description>
		<content:encoded><![CDATA[<p>1) since the named_scope uses a value that may change during requests (I18n.locale) it should read:<br />
named_scope :localized, lambda { { :conditions =&gt; { :locale =&gt; I18n.locale } } }<br />
2) With your own example (Post.localized.find(params[:id])) you gave a good reason to use the first variant. To find the same Post in another language params[:id] would have to be different. Which means you need to find out this other id for linking to the post in another language (common task). Which sucks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain Hecker</title>
		<link>http://iain.nl/2008/09/translating-columns/comment-page-1/#comment-144</link>
		<dc:creator>Iain Hecker</dc:creator>
		<pubDate>Tue, 16 Sep 2008 15:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://iain.nl/?p=167#comment-144</guid>
		<description>@Dmitry: Rails tries to be more lean... Only features that are really really handy and often used get into the rails core.</description>
		<content:encoded><![CDATA[<p>@Dmitry: Rails tries to be more lean&#8230; Only features that are really really handy and often used get into the rails core.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://iain.nl/2008/09/translating-columns/comment-page-1/#comment-143</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Tue, 16 Sep 2008 14:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://iain.nl/?p=167#comment-143</guid>
		<description>@Iain Hecker: Thank you! Interesting post.

But why rails will not support this future in it&#039;s own core? How do you think?</description>
		<content:encoded><![CDATA[<p>@Iain Hecker: Thank you! Interesting post.</p>
<p>But why rails will not support this future in it&#8217;s own core? How do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Plugin: translatable_columns &#8226; iain.nl</title>
		<link>http://iain.nl/2008/09/translating-columns/comment-page-1/#comment-122</link>
		<dc:creator>Plugin: translatable_columns &#8226; iain.nl</dc:creator>
		<pubDate>Sat, 06 Sep 2008 18:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://iain.nl/?p=167#comment-122</guid>
		<description>[...] 6th &#8226; Plugins, Ruby on Rails Category  It was just three days ago when I discussed how to translate columns. At the moment I was writing it, I was already thinking: &#8220;this should be a plugin&#8221;. So [...]</description>
		<content:encoded><![CDATA[<p>[...] 6th &bull; Plugins, Ruby on Rails Category  It was just three days ago when I discussed how to translate columns. At the moment I was writing it, I was already thinking: &#8220;this should be a plugin&#8221;. So [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
