What is the best way to create a menu link that automatically points or alternatively redirects to the right translation?

Take an About page. The source node is in English (default) at node/100. The French translation is at node/101 and the German at node/102.

With the i18n in place, one would add three links to the menu and they will display on their corresponding language.

With Active Translation, I would expect to be able to only add one menu entry, e.g. the source node/100. Then, two thing could happen:

1. The correct translation link is added per language.

2. The same node/100 link is presented, but when loading the page Active Translation redirects to the appropriate /101 or 102 page.

The current actual result is that only the original page is loaded.

What is he better approach to creating a link with translatable pages?

Comments

Stefano’s picture

Hi,
I have the same question as Gabriel. I too have i18n modules active with Active Translation.

The only difference is that when displaying the site in a language different than the default (english), if the node linked by the menu entry has a translation in the displaying language the link is NOT shown. This is really strange as you might expect the module to do exactly the opposite at most (that is hiding the links of modes with no translation), and I expected it to not do it at all (that is leaving all the links and just changing the links of nodes that have translations).

Initially I thought it was the i18n module, but playing a bit with disabling and enabling modules I saw that menu entries disappear only when Active Translation is enabled.

here is my site: http://test.guildofmessengers.com

The problem can be clearly seen when you look at the links on the bottom of the page (Contact, Chat/Forum rules, Site Rules, Search, Webmail).
The only links that link to nodes are the two Rules links. Site Rules has been translated to Italian and to French. Chat/Forum Rules has been translated to Italian.
Now, if you look at the site in Italian you won't see any of those two links. If you look at it in Frech you will only see Chat/Forum Rules. If you look at it in other languages that don't have those pages translated you will see the correct links to the english pages.

Now, is this a bug or is it just me not understanding how i18n and Active Translation should work?

EDIT: Sorry, I used the wrong filter on the issues page and I didn't see that there is already an entry for this feature here #325285: vanishing menu entries (rewriting menu_tree_check_access sql)