I have one site with two languages: English and Spanish for example.What would be the proper convention to name image files?From my point of view it would be stupid to duplicate image and then name it according to on which site it will be uploaded. It would be waste of resources IMO and unnecessary job to do.What do you think about this one?
How to name image files in multi language site?
seo;optimization;multilingual;filenames;image search
If duplicating the image really is unnecessary then you could still perhaps have the best of both worlds... only store the image once, but have it referenced by different filenames, for the different languages - using mod_rewrite (Apache) and an internal rewrite.Based on unor's example:example.net/img/en/house.pngexample.net/img/es/casa.pngThese would be internally rewritten to send a request to your server-side script:imgScript.php?file=en/house.pngimgScript.php?file=es/casa.pngYour script knows to serve the same image for both requested files, perhaps with a simple lookup associative array:array (  'en/house.png' => 'real/path/to/my-house-pic.png',  'es/casa.png' => 'real/path/to/my-house-pic.png',  // etc.);This method allows you to serve different images for certain files if you wished.