Template localization


I'm writing an app that needs a simple localization system. I thought
it would be enough to have localized templates (like rendering
show.en.html.haml when the requested action is show and the current
locale is set to en) without all the complex features that i18n
plugins have.

Since I was unable to find a plugin that works on edge I decided to
write some code on my own. I think it shouldn't be a lot of work so
I'm asking for some guidance - I'm not familiar with the ActionView
internals and I don't want to write unnecessary code. Where should I