public
Description: Rails plugin for localized "country_select" helper with Rake task for downloading locales from Unicode.org's CLDR
Homepage: http://www.restafari.org/localized-country-select.html
Clone URL: git://github.com/karmi/localized_country_select.git
scharfie (author)
Thu Oct 15 03:35:49 -0700 2009
karmi (committer)
Thu Oct 15 04:06:39 -0700 2009
100644 5 lines (4 sloc) 0.208 kb
1
2
3
4
5
# Require the plugin code
require 'localized_country_select'
 
# Load locales for countries from +locale+ directory into Rails
I18n.load_path += Dir[ File.join(File.dirname(__FILE__), 'locale', '*.{rb,yml}') ]