Rails 3 - gettexti18nrails example

January 29, 2015 · View on GitHub

Rails 2 version

Run it

gem install bundler
bundle install
bundle exec rake db:migrate
bundle exec rails server
visit http://localhost:3000

How to repeat this setup

Follow instructions from gettext_i18n_rails

###Find all translations

translations used while testing

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

TODO

  • link to templating engines
  • styles mssing ?

Author

Contributors

Michael Grosser
michael@grosser.it
Hereby placed under public domain, do what you want, just do not hold me accountable...