Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rails example application using FastGettext + gettext_i18n_rails + gettext_test_log

branch: rails2

This branch is 16 commits ahead and 76 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.markdown

Rails 2 - gettext_i18n_rails example

Rails 3 version

Run it

sudo gem install bundler
bundle install
./script/server
visit http://localhost:3000

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

Author

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

Something went wrong with that request. Please try again.