<?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: Tutorial: Gettext for Rails in 8 steps</title>
	<atom:link href="http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/</link>
	<description>Our latest geek adventures!</description>
	<lastBuildDate>Tue, 16 Mar 2010 19:42:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: grosser</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-451</link>
		<dc:creator>grosser</dc:creator>
		<pubDate>Sun, 22 Feb 2009 13:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-451</guid>
		<description>another instruction and example application can be found at the gettext_i18n_rails plugin(which takes care of most of these steps) page http://github.com/grosser/gettext_i18n_rails/tree/master</description>
		<content:encoded><![CDATA[<p>another instruction and example application can be found at the gettext_i18n_rails plugin(which takes care of most of these steps) page <a href="http://github.com/grosser/gettext_i18n_rails/tree/master" rel="nofollow">http://github.com/grosser/gettext_i18n_rails/tree/master</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Feby</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-329</link>
		<dc:creator>Feby</dc:creator>
		<pubDate>Tue, 06 Jan 2009 07:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-329</guid>
		<description>ah I want to add a tip,

if you use html.erb for your views, you need to change the localization.rake file,
visit http://zargony.com/2007/07/29/using-ruby-gettext-with-edge-rails for more info..

Cheers,

Feby</description>
		<content:encoded><![CDATA[<p>ah I want to add a tip,</p>
<p>if you use html.erb for your views, you need to change the localization.rake file,<br />
visit <a href="http://zargony.com/2007/07/29/using-ruby-gettext-with-edge-rails" rel="nofollow">http://zargony.com/2007/07/29/using-ruby-gettext-with-edge-rails</a> for more info..</p>
<p>Cheers,</p>
<p>Feby</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Feby</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-328</link>
		<dc:creator>Feby</dc:creator>
		<pubDate>Tue, 06 Jan 2009 07:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-328</guid>
		<description>Cool...

easy to understand, Thanks.

Feby.</description>
		<content:encoded><![CDATA[<p>Cool&#8230;</p>
<p>easy to understand, Thanks.</p>
<p>Feby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaime Iniesta</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-48</link>
		<dc:creator>Jaime Iniesta</dc:creator>
		<pubDate>Wed, 27 Feb 2008 17:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-48</guid>
		<description>Another tip... I store the language selected by the user when she clicks on a flag to change it, on session[:lang].

To make gettext get this same language as the default locale, you can try this on application.rb:

  before_filter :default_language
  before_init_gettext :set_locale_from_session

  def default_language
    # My default language is spanish, &#039;es&#039;
    session[:lang]=&#039;es&#039; if !session[:lang]
  end

  def set_locale_from_session
    set_locale session[:lang]
  end</description>
		<content:encoded><![CDATA[<p>Another tip&#8230; I store the language selected by the user when she clicks on a flag to change it, on session[:lang].</p>
<p>To make gettext get this same language as the default locale, you can try this on application.rb:</p>
<p>  before_filter :default_language<br />
  before_init_gettext :set_locale_from_session</p>
<p>  def default_language<br />
    # My default language is spanish, &#8216;es&#8217;<br />
    session[:lang]=&#8217;es&#8217; if !session[:lang]<br />
  end</p>
<p>  def set_locale_from_session<br />
    set_locale session[:lang]<br />
  end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaime Iniesta</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-47</link>
		<dc:creator>Jaime Iniesta</dc:creator>
		<pubDate>Thu, 21 Feb 2008 12:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-47</guid>
		<description>Thanks for the tutorial! Some notes:

* require &#039;gettext/rails&#039; should be in config/environment.rb instead of application.rb</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial! Some notes:</p>
<p>* require &#8216;gettext/rails&#8217; should be in config/environment.rb instead of application.rb</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-46</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 20 Nov 2007 01:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-46</guid>
		<description>This is the first tutorial that helped me get my gettext working.

Thanks for the great work!</description>
		<content:encoded><![CDATA[<p>This is the first tutorial that helped me get my gettext working.</p>
<p>Thanks for the great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-45</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Fri, 02 Nov 2007 03:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-45</guid>
		<description>Great tutorial, first one that made sense!</description>
		<content:encoded><![CDATA[<p>Great tutorial, first one that made sense!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: burlight</title>
		<link>http://techblog.floorplanner.com/2007/07/24/tutorial-gettext-for-rails-in-8-steps/comment-page-1/#comment-44</link>
		<dc:creator>burlight</dc:creator>
		<pubDate>Fri, 28 Sep 2007 03:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.suite75.net/blog/dev/tutorial-gettext-for-rails-in-8-steps.html#comment-44</guid>
		<description>Thanks so much for this step by step how to!
Much easier to understand!

Greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this step by step how to!<br />
Much easier to understand!</p>
<p>Greatly appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
