Images in the body field are automatically translated by the translation_management module in case the translated image is present on the server. We provide the user with options to use imagecache presets in the rich text editor. These imagecache presets are created when they are viewed for the first time, so the translation process fails.

I'm not sure this should be a part of the translation management module, but i've attached a patch that will check if the file exists. If it doesn't exist it will check wether or not this path is an imagecache path and if so it will create the translated imagecache image on the server so that it is found and can be translated.

Comments

brucepearson’s picture

Thanks for the patch. I think it's OK to add this to the Translation Management module. I've applied the patch.

brucepearson’s picture

Status: Needs review » Fixed
kevinvdw’s picture

Status: Fixed » Needs review
StatusFileSize
new1.22 KB

Hi Bruce,

I've posted a bad version of the patch, please find a corrected one in attachment.

brucepearson’s picture

Hi Kevin,

I've committed this. Can you please review.