Currently using the "preferred" setting.
Was hoping it would display the user's language version of the node, if it exists, then fallback and use the site's default language (english).
It does this very well, unless the user's langauge is english. Then the english nodes get displayed multiple times. The number of times it is shown varies greatly. So far, I have seen it display only 1 time (like it should), 2 times, 3 times, 4 times, and 10 times. So, there does not seem to be a pattern.
I figured out a temporary workaround by changing the `trid`s in 18n_node from 0 to some unused number. There are a lot of trid's that = 0 in the database. I have a strange feeling that this is a bad idea, but it works.
I have noticed some ways to make it display more times. It seems that by changing a node to "no language", saving, then setting it to "english" make it display a random number of multiple times.
Comments
Comment #1
podaroktry to select "Current language and language neutral"
/admin/settings/i18n
here
-------------------
Andriy Podanenko
web: http://my.ukrweb.info
Comment #2
neomenlo commentedBut I would like to have a "prefered" set up.
if a node is available in the native language (or it is neutral), it should use that
otherwise a "fallback" node from the default langauge should be given
This way, all content is shown, even if it isn't entirely native. More importantly, no duplicates should be shown.
Comment #3
Andreas Goebel commentedHello,
I´m having this problem, too, with drupal 6.6.
Is there any known workaround?
Regards,
Andreas
Comment #4
jose reyero commentedPreferred setting has nothing to do with user preferences, actually I've just dropped that name because it was confusing. Now there's only a 'mixed' mode.
About the duplicated rows, it should be fixed now.
Renamed selection modes after 6.x version, so update your i18n's settings.
Comment #5
neomenlo commentedThis has in fact been fixed for me in the most recent (nov-19) 5.x 3.x-dev version.
Comment #7
HaraldB. commentedif someone's looking for this, for me It is not fixed in the 5,x 3.x Version:
the right code is: