github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

grosser / gettext_i18n_rails_example

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 8
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Rails: Example application using FastGettext + gettext_i18n_rails + gettext_test_log — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

add tracked plugins to make plugin updates easy 
grosser (author)
Thu Jan 28 12:06:48 -0800 2010
commit  86c427789bfee7a827c5f26189f9264d3e28bfe3
tree    a155e208236d29dcc8a9a7b001cf10266c5b88b4
parent  eeea237fe0710221a9c7e2f9dde90c4ec3ecf5eb
gettext_i18n_rails_example /
name age
history
message
file .gitignore Sun Apr 19 05:41:02 -0700 2009 added log folder, so it does not show warnings... [grosser]
file README.markdown Sun May 10 09:40:47 -0700 2009 added new heroku address [grosser]
file Rakefile Sat Feb 21 00:21:36 -0800 2009 first commit [grosser]
directory app/ Sun May 10 08:43:09 -0700 2009 added a model validation translation [grosser]
directory config/ Sun May 10 08:21:36 -0700 2009 updated dependencies [grosser]
directory db/ Sat Mar 07 04:08:10 -0800 2009 unpacked uncommon gems, added languages / count... [grosser]
directory lib/ Sat Feb 28 01:34:51 -0800 2009 plugin updates, completely translated app [grosser]
directory locale/ Sun May 10 08:43:09 -0700 2009 added a model validation translation [grosser]
directory log/ Sun Apr 19 05:41:02 -0700 2009 added log folder, so it does not show warnings... [grosser]
directory public/ Sat Feb 21 00:21:36 -0800 2009 first commit [grosser]
directory script/ Thu Jan 28 12:06:48 -0800 2010 add tracked plugins to make plugin updates easy [grosser]
directory spec/ Thu Feb 26 11:02:15 -0800 2009 added rspec testing and gettext_test_log, updat... [grosser]
directory vendor/ Thu Jan 28 12:06:48 -0800 2010 add tracked plugins to make plugin updates easy [grosser]
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

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server