public
Description: Rails: Example application using FastGettext + gettext_i18n_rails + gettext_test_log
Homepage:
Clone URL: git://github.com/grosser/gettext_i18n_rails_example.git
name age message
file .gitignore Sun Apr 19 05:41:02 -0700 2009 added log folder, so it does not show warnings... [grosser]
file README.markdown Sun May 10 09:40:47 -0700 2009 added new heroku address [grosser]
file Rakefile Sat Feb 21 00:21:36 -0800 2009 first commit [grosser]
directory app/ Sun May 10 08:43:09 -0700 2009 added a model validation translation [grosser]
directory config/ Sun May 10 08:21:36 -0700 2009 updated dependencies [grosser]
directory db/ Sat Mar 07 04:08:10 -0800 2009 unpacked uncommon gems, added languages / count... [grosser]
directory lib/ Sat Feb 28 01:34:51 -0800 2009 plugin updates, completely translated app [grosser]
directory locale/ Sun May 10 08:43:09 -0700 2009 added a model validation translation [grosser]
directory log/ Sun Apr 19 05:41:02 -0700 2009 added log folder, so it does not show warnings... [grosser]
directory public/ Sat Feb 21 00:21:36 -0800 2009 first commit [grosser]
directory script/ Sat Feb 28 01:34:51 -0800 2009 plugin updates, completely translated app [grosser]
directory spec/ Thu Feb 26 11:02:15 -0800 2009 added rspec testing and gettext_test_log, updat... [grosser]
directory vendor/ Sun May 10 08:21:36 -0700 2009 updated dependencies [grosser]
README.markdown

How to repeat this setup

  • sudo gem install rails -s http://gems.rubyonrails.org
  • add new model via ./script/generate scaffold car
  • rake db:migrate
  • follow instructions from gettext_i18n_rails

Find all translations

translations used while testing (tests may crash if you do not have rspec+rspec-rails edge!)

rake gettext:test_log

translations for model names/attributes + thrugh gettext-ruby-parser

rake gettext:find

Convert them to FastGettext readable format

rake gettext:pack

You can see this app running: online Demo