clemens / i18n_demo_app

Demo application to show Rails' new i18n features

This URL has Read+Write access

clemens (author)
Wed Dec 03 05:42:50 -0800 2008
commit  af91ff61f1f16febc4a6c0482597591af1b83aff
tree    c006c6853865b3274bc1bf76de0e05ea56672baa
parent  b0e428698b12f8cef591280e46d26c7dc3e71dbb
name age message
file .gitignore Wed Aug 27 17:13:31 -0700 2008 en-AU translations for original en-US file; see... [drnic]
file README Wed Dec 03 03:25:23 -0800 2008 Updated credits. [clemens]
file Rakefile Thu Aug 07 07:19:15 -0700 2008 Initial import. [clemens]
directory app/ Wed Dec 03 05:02:33 -0800 2008 Fixed bug. [clemens]
directory config/ Loading commit data...
directory db/ Thu Aug 14 17:02:33 -0700 2008 Traduzido para portugues do Brazil [akitaonrails]
directory doc/ Thu Aug 07 07:19:15 -0700 2008 Initial import. [clemens]
directory log/ Thu Aug 28 06:40:18 -0700 2008 remove production log .. [sikachu]
directory public/ Wed Dec 03 03:41:44 -0800 2008 Move to Rails 2.2 [clemens]
directory script/ Thu Aug 07 07:19:15 -0700 2008 Initial import. [clemens]
directory test/ Thu Aug 07 07:19:15 -0700 2008 Initial import. [clemens]
directory tmp/ Sun Aug 10 15:33:35 -0700 2008 Added .gitignore. [clemens]
directory vendor/ Wed Dec 03 05:42:50 -0800 2008 Update to current version of localized_dates pl... [clemens]
README
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
(http://agilewebdevelopment.com/plugins/localized_dates). 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.

Setup
===================

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

Contents
===================

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 - http://github.com/amatsuda - Japanese locale (ja)
Claudio Poli - claudio@icoretech.org - Content translation, Italian locale (it)
Dr Nic Williams - http://drnicwilliams.com - English locale (en-AU)
Fabio Akita - http://www.akitaonrails.com/ - Portuguese locale (pt-BR)
Janko Ahlbrandt - "http://www.keyj.de - German locale (de)
Kai Chen - http://chenk85.com - Chinese locale (zh)
Karel Minařík - http://www.karmi.cz - Czech locale (cz)
Leandro Marcucci - http://leanucci.com.ar - Spanish locale (es-AR)
Masayuki Nakamura - masayuki@japancentre.com - Content translation, Japanese locale (ja)
Ninh Bui - http://www.phusion.nl - Dutch locale (nl), Hosting (http://i18n-demo.phusion.nl)
Prem Sichanugrist - http://sikachu.com - Thai locale (th)
Simon Tokumine - simon@japancentre.com - Content translation, Japanese locale (ja)

Bugs and Feedback
===================

If you discover any bugs I'd appreciate if you sent me an e-mail to clemens@railway.at. 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 <clemens@railway.at>, released under the MIT license

http://www.railway.at
http://github.com/clemens/i18n_demo_app