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.

  1. Upload the translated images using the naming convention for image replacement.
  2. Apply the image replacement scheme to search for images in translated content and update the image sources if a translated image is found.

 

 

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options