In this short blogpost I want present you a nice little generator gem called i18n-yaml-generator from the company Skalar from norway.
The guys there created a nice gem which invokes an i18n yaml generator when calling the standard scaffold model or controller generators provided from the rails framework itself. The locale files are generated for all locales listed in I18n.available_locales.
The gem generates i18n locale files for models and views. I think it is very convenient and worth a try to check it out if you often need i18n yaml files and you are bored from creating them by yourself all the time.
You can find further information about the generator gem and detailed instructions how to use it on github: https://github.com/Skalar/i18n-yaml-generator
Have a nice day! :-)