Demo application to show Rails' new i18n features
Ruby JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app Fixed bug. Dec 3, 2008
config Renamed Czech locale (thanks to Kamil Kukura for the info). Feb 16, 2009
db Traduzido para portugues do Brazil Aug 15, 2008
doc Initial import. Aug 7, 2008
log remove production log .. Aug 28, 2008
public Move to Rails 2.2 Dec 3, 2008
test Initial import. Aug 7, 2008
tmp Added .gitignore. Aug 10, 2008
vendor Update to current version of localized_dates plugin. Dec 3, 2008
.gitignore en-AU translations for original en-US file; seems that some are missing Aug 28, 2008
README Updated credits. Dec 3, 2008
Rakefile Initial import. Aug 7, 2008


Localize Rails demo application

This demo application tries to show you how you can use the current Rails i18n features to localize your application.
It uses current Edge Rails i18n functionality as well as the localized_date plugin
( The tutorials on how to use the features shown in the app are
part of the app itself instead of being shown in a separate blog article.


To set up the Localize Rails demo application you need the following steps:
* git clone git://
* cd i18n_demo_app
* ./script/server
* Fire up your browser and go to localhost:3000 – the index page should be loaded automatically.


This demo app contains examples and tutorials on localizing the following parts of your application:
* Date and Time Formats
* DateHelper (forms)
* NumberHelper
* ActiveRecordHelper (incomplete at this point)

Adding Translations

It's easy to add a translation to this demo app, simply drop your locale file into the config/locales directory. As long as it follows the correct format (see config/locales/en-US.rb) it should all work fine.

Contributors (in alphabetical order)

Akira Matsuda - - Japanese locale (ja)
Claudio Poli - - Content translation, Italian locale (it)
Dr Nic Williams - - English locale (en-AU)
Fabio Akita - - Portuguese locale (pt-BR)
Janko Ahlbrandt - " - German locale (de)
Kai Chen - - Chinese locale (zh)
Karel Minařík - - Czech locale (cz)
Leandro Marcucci - - Spanish locale (es-AR)
Masayuki Nakamura - - Content translation, Japanese locale (ja)
Ninh Bui - - Dutch locale (nl), Hosting (
Prem Sichanugrist - - Thai locale (th)
Simon Tokumine - - Content translation, Japanese locale (ja)

Bugs and Feedback

If you discover any bugs I'd appreciate if you sent me an e-mail to Please include a detailed
description of your problem if you want me to help you.

If you have positive feedback and want to drop me a line that's fine, too! :-)

Copyright (c) 2008 Clemens Kofler <>, released under the MIT license