Topic: Internationalization - loading images according to locale

I find nothing about how Rails loads 'localized' images.
No problem with translating text values, but how to do if there are , for example buttons or links with underground images with corresponding text like 'Cancel' for EN and 'Cancellar' for ES or 'Annuler' for FR?
In java Tapestry framework, for example, you can reference an image like 'ok_btn.png' in your pages but it will load the image corresponding to your locale as 'ok_btn_fr.png' or 'ok_btn_en.png'.
Any idea?

Last edited by Javix (2012-02-29 09:40:03)