# Organizing translations with I18n::Cascade and I18n::MissingTranslations

**URL:** <https://www.ruby-forum.com/t/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations/203123>\
**Category:** Rails I18n\
**Created:** [February 13, 2011, 2:16pm UTC](https://www.ruby-forum.com/t/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations/203123 "2011-02-13T14:16:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 13, 2011, 2:16pm UTC](https://www.ruby-forum.com/t/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations/203123/1 "2011-02-13T14:16:02Z")

</div>

I thought I’d drop you a note that I’ve written up a few things about  
what tools we are using to organize translations at work. I get asked  
these questions a lot so maybe it makes sense to spam the list with this  
🙂

[http://svenfuchs.com/2011/2/11/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations](http://svenfuchs.com/2011/2/11/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations)

What other techniques/conventions do people apply?

Comments welcome!

---

<div class="post-metadata">

**Author:** ![Sven\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5e925/32.png) [@Sven\_F](https://www.ruby-forum.com/u/Sven_F)\
**Post date:** [February 13, 2011, 3:52pm UTC](https://www.ruby-forum.com/t/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations/203123/2 "2011-02-13T15:52:03Z")

</div>

Hi  
These advices are really good. I myself made the mistake to aim for  
DRY .yml files

I have an addition to the string class .to\_local(key) that allows me  
to use my own coventions for key and that works really good  
For example I have one enumeration.class.variable for enumerations and  
one key models and one key controllers etc  
Ialso have one key views to be DRY but I will now change that to the  
deafults in Rails 3 (i.e controller.view.word)

I also use a set of common flash messages for the common actions  
(sucess and failure)  
Finally I use a method that stores translations of flash messages as  
flash.controller.action.flash\_key (ie. error\_1,error\_2…, success,  
warning etc)

* * *

Hans M.  
St: Larsgatan 50, 58224 Linkping, Sweden  
Phone: +46708371202

13 feb 2011 kl. 14.15 skrev Sven F.:
