grosser / gettext_i18n_rails_example
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Apr 19 05:41:02 -0700 2009 | |
| |
README.markdown | Sun May 10 09:40:47 -0700 2009 | |
| |
Rakefile | Sat Feb 21 00:21:36 -0800 2009 | |
| |
app/ | Sun May 10 08:43:09 -0700 2009 | |
| |
config/ | Sun May 10 08:21:36 -0700 2009 | |
| |
db/ | Sat Mar 07 04:08:10 -0800 2009 | |
| |
lib/ | Sat Feb 28 01:34:51 -0800 2009 | |
| |
locale/ | Sun May 10 08:43:09 -0700 2009 | |
| |
log/ | Sun Apr 19 05:41:02 -0700 2009 | |
| |
public/ | Sat Feb 21 00:21:36 -0800 2009 | |
| |
script/ | Thu Jan 28 12:06:48 -0800 2010 | |
| |
spec/ | Thu Feb 26 11:02:15 -0800 2009 | |
| |
vendor/ | Thu Jan 28 12:06:48 -0800 2010 |
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
