grosser / gettext_i18n_rails_example

Rails: Example application using FastGettext + gettext_i18n_rails + gettext_test_log

This URL has Read+Write access

gettext_i18n_rails_example / README.markdown
100644 17 lines (14 sloc) 0.669 kb

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