<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/rails/tags/i18n</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 17:28:54 GMT</pubDate>
<item>
<title>(Rails) Automagically find localized images - insanedreamer</title>
<link>http://snipplr.com/view/45387/automagically-find-localized-images/</link>
<description><![CDATA[ <p>Patches Rails 3 to automatically look for images in a folder corresponding to the current locale (under 'images', ie: '/images/en'), and falling back first to the folder of the default_locale, and then to the main images folder ('/images') if the image was not found in the locale folder. Put any localized images in their corresponding folders ('/images/en', '/images/es', etc.) and any non-localized images in '/images'. No need to specify anything special in the view, just use image_tag as usual.</p> ]]></description>
<pubDate>Tue, 07 Dec 2010 17:29:27 GMT</pubDate>
<guid>http://snipplr.com/view/45387/automagically-find-localized-images/</guid>
</item>
</channel>
</rss>