svenfuchs / rails-i18n

Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff

This URL has Read+Write access

commit  5e368d4ef88a0038d1a3eb3016968e27d8ada5f8
tree    73a0ef35bc3debb4147b293cf5f51fe61d0d3a27
parent  fbeaa9c06f5e1dbdea809d74445254cc3eaafea6
name age message
file README.textile Wed Oct 29 16:22:52 -0700 2008 include note about attribution to readme [svenfuchs]
directory rails/ Loading commit data...
README.textile

Rails Locale Data Repository

Central point to collect locale data for use in Ruby on Rails.

To contribute just send me a pull request, patch or plain text file.

Please include a comment with the language/locale name and your name and email address (or other contact information like your github profile) to the locale file so people can come contact you and ask questions etc.

Also, please pay attention to save your files as UTF-8.

Rails translations

Simple tool for testing the integrity of your key structure:

Make sure you have the Ruby I18n gem installed. If you haven’t already you can try:

sudo gem install svenfuchs-i18n -s http://gems.github.com

Then, standing in the root directory of this repository, do:

ruby rails/test/structure.rb [your-locale]

Assuming that there is a file rails/locale/[your-locale].{rb,yml} you will get a summary of missing and bogus keys as well as extra pluralization keys in your locale data.