# Gem for creating translation scopes in classes (i18n\_scopes)

**URL:** <https://www.ruby-forum.com/t/gem-for-creating-translation-scopes-in-classes-i18n-scopes/226375>\
**Category:** Rails I18n\
**Created:** [July 24, 2012, 1:15pm UTC](https://www.ruby-forum.com/t/gem-for-creating-translation-scopes-in-classes-i18n-scopes/226375 "2012-07-24T13:15:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![menostos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7ea924/32.png) [@menostos](https://www.ruby-forum.com/u/menostos)\
**Post date:** [July 24, 2012, 1:15pm UTC](https://www.ruby-forum.com/t/gem-for-creating-translation-scopes-in-classes-i18n-scopes/226375/1 "2012-07-24T13:15:41Z")

</div>

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](https://github.com/menostos/i18n_scopes)
