grosser / gettext_i18n_rails_example
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
eeea237
gettext_i18n_rails_example / 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
