Hi,
I've set up a Drupal 6 site with I18n translations, and for the most part it's working perfectly. I'm using the Language Icons block to display language flags, and have hidden the language links at the bottom of the nodes.
I'm having one issue with the appearance of flags.
When I create a new node, it shows the language icons for all four languages my site is translated to. However, three of them will link to pages that don't give a very satisfactory result.
So for example, if I create a node in English (i've checked the language is English, not language neutral) with a URL of mysite.com/en/content/testpage, the German link will be something like mysite.com/de/node/42. Clicking on this link will take me to the English page, with German menus, however the Primary Links menu disappears, which is not very satisfactory as that's the main way users will navigate the site.
When I add a translation, the extra language icons disappear, and only the ones with translations remain, which I think is the correct Drupal behavior. Is there a way I can make the site behave like that for untranslated pages?
Second problem: Just to throw another spanner in the works, my client has requested that if a page hasn't been translated, he'd still like to display all language icons, but have the untranslated ones link to the languages home page. Can anyone suggest how I might achieve this?
Thanks!
Comments
I've set up a test site to
I've set up a test site to illustrate this problem.
Here's a page that's only created in English:
http://multi.websitebricks.com/en/english-only-page
Although the page is only in English, there are language icons for four other languages, and these have somewhat unsightly URLs like:
http://multi.websitebricks.com/da/node/19
I've also set up a page with two languages:
http://multi.websitebricks.com/en/english-and-danish
and
http://multi.websitebricks.com/da/engelsk-og-dansk
The language icons correctly link between two languages, and the untranslated languages disappear.
Can anyone tell me how to make the single language pages behave the same way?
Thanks,
James
subscribing...
...subscribing. Same issue. So, is this a bug or a feature?
Thanks! Eric