add localization support

Hi, 
I forked your gem to add localization support. I need it for some project where pictures are locales related. 
If you think it worths it, and if my coding style is not to bad, think about merging branches. 
I'm open to all critics or coding advices.
I ran some tests but I may have missed some, let me know if something goes wrong.

Antoine