Forum: Rails I18n Gem for creating translation scopes in classes (i18n_scopes)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
692ba8a97b07c24bda10045253df9ad5?d=identicon&s=25 menostos (Guest)
on 2012-07-24 13:15
(Received via mailing list)
Hi everybody

I've created a gem called i18n_scopes.

it lets you specify helper methods with default scopes, so you don't
need
to always
supply the :scope option to your t method.

it is also possible to have dynamic scope parameters, like the class
name
or the modules path
and it lets you specify your own ones.

You can find more examples here: https://github.com/menostos/i18n_scopes
This topic is locked and can not be replied to.