Hi there,

I am using the i18n and the translation module to run my page in 6 languages (en-de-fr-es-pl-it). The content should be the same in all 6 languages. However, it always happens that I do not have the translations for all languages. In that case I would like to present that content in another language. So that there is at least something.

Lets say the content in the French translation is not available, in that case I would like to replace it with e.g. the English version until I have the translation.

However, this does not work. When the translation is missing the content is just not present in that language.
If I have a content (e.g. English) and i do not assign it to any language than it is present in all languages. But as soon as I translate it to a second language (e.g. French) I have to assign the content (which was until than default) to a language (English) otherwise I cannot do the translation. But than the content only appears in the English an French section but it is not present at all in the other languages.

In the
Multilingual system settings I selected under advanced settings
Only current language and no language

I am rather desperate as this is somehow killing my whole page
I hope someone can help, at least for narrowing down my problem
best
martin

Comments

MacRonin’s picture

I haven't gotten to actually installing i18n yet. But from my reading/screencasts I thought that there was option you could set that specified a default lang to display in case the requested one did not have a translation for that specific node. Maybe it's a D6 thing?

-------------------
http://www.PrivacyDigest.com/ News from the Privacy Front (Drupal)
http://www.SunflowerChildren.org/ Helping children around the world ( Drupal)

meible’s picture

Well, I specified English as the default language, but still, the English content does not appear in the other languages. But in principal it should work with those settings?

mtraut’s picture

Currently i try to understand the implications of using i18n on my own website. More and more i am about to write code of my own to solve the different inconsistencies when having a multilingual site. Can you share some information with me?

What use case is exactly failing:

- Display the front (main) page? Is it the "default" page or configured as a named page? Do you use aliases (with language prefix?) ?
- Displaying lists of nodes?
- Referencing nodes from the menu system / some other links?

I am about to use code that:

- identifies a translation set (for example via select to a unique title, a (single) alias in the translation set or a new generic field)
- select the translation for the active language
- display the page.

For me this seems to be the most stable solution using readable links.

meible’s picture

Hi,

the front page is not the normal frontpage. I am using the advanced front page module and redirect and so my main page (where the stuff appears when I select publish on front page is the page /node. This is completely done by the advanced front page module, no view is created from my side.
As far as I know I do not use aliases.

The problems arise for the normal views, there is not much linking to nodes going on, most links I am using are to views. Don't know whether my problem is any clearer. If you don't mind we could continue this also outside this thread and in german.
you send me a message if it is ok for you.