This may be more of an observation/work-around than a bug. But, it clearly is an issue that needs to be documented.

I am creating a multi-lingual site. One thing it will have are photo galleries. I want the text associated with the image to be in two languages. Well, as the node is really an image node, internationalization doesn't work.

My assumption is that, today, the "right" way to do this would be to just upload the individual images and then, instead of using an image gallery, use book pages. Each book would replace each gallery, Each book page would then attach the appropriate photo. I haven't tried this but it seems it would work. Before I do, does this make sense? Or, is there a cleaner solution?

Comments

davemybes’s picture

Well, as the node is really an image node, internationalization doesn't work.

What do you mean by this? Your image nodes can also switch from one language to another. The trick to getting this to work, without uploading the same image multiple times, is to use the Node Clone module. So, create your image node in language1. Click clone, and in the cloned node, change the language and text to language2. Go to Translation and link the two nodes using Select node.

I have never tried using Book module for a gallery, and I don't know how good you could make that look. As you say, it sounds like it would work, but people wouldn't see a page of all images - they would simply see a list of page titles on the parent book node.

fyl’s picture

Using Node Clone sounds like more work and, more important, a lot harder to explain to the people that will be doing the work. That is, saying:

  1. Upload the image
  2. Create the node in one language and point to the image
  3. Translate the node

seems pretty intuitive. It also seems that if you do this as a book you can just attach all the images to the parent book. Then, include displaying the thumbnails in it.

I see what you are saying. It does seem that either way would work. Neither seems like the ideal solution.

jose reyero’s picture

Category: bug » feature

When you translate an image node, the image should be linked to both nodes.

You also can try options with the i18nsync module. Note that it is an experimental one, so just don't throw it right away in your production site, give it a try before in a sandbox.

pkej’s picture

#1 I can't find a link to node in 6.6 using i18n modules, I see that this is for the 5.x-2.2 version, but your workaround would have been great for my site, even though the points raised in #2 are very valid, also for my site.

As for #3, they aren't in 6.6 at least using 6.x-10-beta4. I will create a separate issue for this.

jose reyero’s picture

Status: Active » Closed (won't fix)

This is working much better in 6,x (try latest dev), it will stay the same in 5.x