Using different images in translated content
I've been looking at how we can include different images in translated content. Translating the text in content is fairly straight forward but keeping track of hundreds of different images in many languages quickly becomes a serious problem.
We have had an inquiry from a client that has an online help system using Drupal. Many of the help pages include screen shots and these screen shots need to be different in each language. We're talking about thousands of images, translated into at least six languages.
Instead of managing these image translations manually, we're now creating a system that allows associating images with translations. This way, you can associate image translations management page and all translations that include these images will update automatically.
We're adding this image translation management to the ICanLocalize translator module. Here is how it looks like:

- Add language prefix to name (eg. image_1_es.jpg)
- In a sub-directory using language prefix (eg. /es/image_1.jpg)
- None - I'll set them manually
In addition the selected scheme can be overridden per image.
Hopefully this feature will make the job easier.
- Upload the translated images using the naming convention for image replacement.
- Apply the image replacement scheme to search for images in translated content and update the image sources if a translated image is found.

Kommentare
Support of subfolders
Hi,
please could you tell me if such a file structure is supported by automatic imag translation?
One of your suggested possibilities is my favorite, but it doesn´t work
Are folders like "de" and "en" for german and english images in supported?
example:
The images should be saved separately for every product and in the product folder devided through the language folders "de" and "en".
/var/www/sites/default/files/Bilder/product1/de
/var/www/sites/default/files/Bilder/product1/en
/var/www/sites/default/files/Bilder/product2/de
/var/www/sites/default/files/Bilder/product2/en
...
I hope you can help me. Please give me an advice to handle these folder structure.
Thanks in advance.
Thomas.
Post new comment