<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>La rolls des blogs &#187; mysql</title>
	<atom:link href="http://my.rails-royce.org/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://my.rails-royce.org</link>
	<description>Another Ruby and Rails blog</description>
	<lastBuildDate>Fri, 13 Jan 2012 23:47:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to translate your column fields and values with gettext in ruby on rails</title>
		<link>http://my.rails-royce.org/2010/07/07/how-to-translate-your-column-fields-and-values-with-gettext-in-ruby-on-rails/</link>
		<comments>http://my.rails-royce.org/2010/07/07/how-to-translate-your-column-fields-and-values-with-gettext-in-ruby-on-rails/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 10:55:25 +0000</pubDate>
		<dc:creator>Hallelujah</dc:creator>
				<category><![CDATA[activerecord]]></category>
		<category><![CDATA[active_record]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[gettext]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[columns]]></category>
		<category><![CDATA[internationalisation]]></category>
		<category><![CDATA[internationalization]]></category>
		<category><![CDATA[L10n]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://my.rails-royce.org/?p=160</guid>
		<description><![CDATA[I am proud to have published my first useful ruby gem. It is called gettext_column_mapping, you can check out the code in my github repository. I already released it as a gem through gemcutter/rubygems It is based upon Masao Mutoh (gettext and gettext_active_record) and Michael Grosser (fast_gettext and gettext_i18n_rails) works. Thanks to them History In &#8230; </p><p><a class="more-link block-button" href="http://my.rails-royce.org/2010/07/07/how-to-translate-your-column-fields-and-values-with-gettext-in-ruby-on-rails/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I am proud to have published my first useful ruby gem.<br />
It is called gettext_column_mapping, you can check out the code in <a href="http://github.com/hallelujah/gettext_column_mapping">my github repository</a>.<br />
I already released it  as a gem through <a href="http://rubygems.org/gems/gettext_column_mapping">gemcutter/rubygems</a> </p>
<p>It is based upon Masao Mutoh (<a href="http://github.com/mutoh/gettext">gettext</a> and <a href="http://github.com/mutoh/gettext_activerecord">gettext_active_record</a>) and Michael Grosser (<a href="http://github.com/grosser/fast_gettext">fast_gettext</a>  and <a href="http://github.com/grosser/gettext_i18n_rails">gettext_i18n_rails</a>) works.</p>
<p>Thanks to them <img src='http://my.rails-royce.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>History</strong></p>
<p>In my company we need a mean to translate bad written fields/table name in our database. Why ? because our applications are internationalized and we need to have cleaner name than &#8220;libelle&#8221; (the french word standing for label) to send to translators.</p>
<p>We also have some &#8220;constants&#8221; name saved in our tables so we need to translate them.</p>
<p>Then started this library a year ago.</p>
<p>Formerly, it was a library that depends on Rails &#8230; But I decided that it ccould be nice if it reaches these requirements :</p>
<ul>
<li> Use of Rubygem to spread it more easily</li>
<li> Must be Rails agnostic</li>
<li> Can use either mutoh&#8217;s gettext or grosser/fast_gettext</li>
<li> Can be implemented easily on rails 2.3.x and 3.0 or other ruby web framework</li>
<li> Can have some built-in configurable rake tasks</li>
</ul>
<p>All is done! </p>
<p>But now I would like to improve this gems  (API, tests, documentation, implementation) , so if someone who reads this post can help &#8230; I must remind you that this project is open source. Partly, it has been developped at work but I burnt most many hours of my sparetime than at work</p>
<p><strong>TODO ?</strong></p>
<ul>
<li>other database implementation (only mysql for now)</li>
<li>ORM agnosticism ? </li>
<li>More testing</li>
<li>More documentation</li>
<li>Rails < 2.3 compatibility backward</li>
<li>&#8230; and so many</li>
</ul>
<p>Try it and give me feedback</p>
]]></content:encoded>
			<wfw:commentRss>http://my.rails-royce.org/2010/07/07/how-to-translate-your-column-fields-and-values-with-gettext-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

