Simple demonstration of using proper I18n with ActiveAdmin and Globalize3 support
Ruby JavaScript CoffeeScript
Failed to load latest commit information.
app
config adding support for heroku Jul 15, 2012
db adding support for heroku Jul 15, 2012
doc initial commit Jul 12, 2012
lib initial commit Jul 12, 2012
log
public Adding globalize3, friendlyid and small rdiscount support (no cache) Jul 13, 2012
script initial commit Jul 12, 2012
spec adding support for heroku Jul 15, 2012
test initial commit Jul 12, 2012
vendor initial commit Jul 12, 2012
.gitignore Adding Devise, Rspec, Pry gems Jul 12, 2012
.rspec Adding missing specs Jul 14, 2012
Gemfile upgrade to 3.2.11 to avoid critical security exploit Jan 9, 2013
Gemfile.lock upgrade to 3.2.11 to avoid critical security exploit Jan 9, 2013
Guardfile Adding missing specs Jul 14, 2012
README.rdoc updating README with blog post links Jul 15, 2012
Rakefile initial commit Jul 12, 2012
config.ru initial commit Jul 12, 2012

README.rdoc

Simple Rails 3.1 I18n Demonstration app

Originally created as a small exercise on the usage of the different components necessary to properly support internationalization (i18n) and localization (l10n) on top of Rails 3.2.

This includes taking care of:

  1. Devise, by adding locale files

  2. Rails Translate Routes to have translated URLs

  3. Globalize3 to make model attributes also locale sensitive

  4. ActiveAdmin with Globalize3 support, to edit each localized attribute

Optional components added include:

  1. RDiscount to simulate a minimal CMS

  2. FriendlyID to exercise proper ID generation for content

  3. Twitter Bootstrap to make the visual a bit more appealing

Author: Fabio Akita (@akitaonrails) Originally designed as a companion app to AkitaOnRails.com blog post

Getting Started

The usual suspects:

git clone git://github.com/akitaonrails/Rails-3-I18n-Demonstration.git i18n_demo
cd i18n_demo
bundle install
rake db:migrate
rails s

#Fun

Blog Post

This exercise app was create to back up the 2 part blog posts published at AkitaOnRails.com. Check them out: