public
Description: Rails plugin for creating Country and Language models and populating them with the relevant ISO data.
Homepage: http://cameronyule.com/code
Clone URL: git://github.com/cameronyule/isodata.git
name age message
file MIT-LICENSE Loading commit data...
file README
directory db/
directory generators/
file init.rb
file install.rb
directory tasks/
file uninstall.rb
README
isodata
========

Plugin for creating Country and Language models and populating them with the relevant ISO data.


Install
=======

script/plugin install git://github.com/cameronyule/isodata.git


Usage
=====

For countries;

script/generate countries
rake db:migrate
rake isodata:db:countries

For languages;

script/generate languages
rake db:migrate
rake isodata:db:languages

After using the generators, you can safely delete the plugin.


Caveats
=======

The language data that comes with this generator doesn't include macrolanguages. These are generally dialects
of a specific language or very closely related languages.

More information and a complete list of macrolanguages can be found on wikipedia.

http://en.wikipedia.org/wiki/ISO_639_macrolanguage


Credits
=======

The original source data for the ISO 3166 country codes - http://snippets.dzone.com/posts/show/1727
The original source data for the ISO 639 language codes - http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes