This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'open-uri' | |
# Rake task for importing country names from Unicode.org's CLDR repository | |
# (http://www.unicode.org/cldr/data/charts/summary/root.html). | |
# | |
# It parses a HTML file from Unicode.org for given locale and saves the | |
# Rails' I18n hash in the plugin +locale+ directory | |
# | |
# Don't forget to restart the application when you add new locale to load it into Rails! |