RubyGems Navigation menu

object_scoped_i18n 0.1.0

Translate using i18n and scope it according to the object's place in Ruby's hierarchial structure. Using ancestors to build up the default option of I18n.translate. Works in much the same way as ActiveRecords human_attribute_name

Gemfile
          gem 'object_scoped_i18n', '~> 0.1.0'
  
  
  
  
  
  
  

install
          gem install object_scoped_i18n
  
  
  
  
  
  
  

Authors:

  • Iain Hecker

Owners:

Total downloads 1,508

For this version 1,508

Required Ruby Version: None

Links:

Versions:

  1. 0.1.0 - December 12, 2009 (6.5 KB)

Runtime Dependencies:

Development Dependencies: