Closed (won't fix)
Project:
Internationalization Views
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2011 at 12:56 UTC
Updated:
15 Oct 2011 at 23:24 UTC
Comments
Comment #1
miro_dietikerAt least it should be named differently, because it's a i18n feature.
I currently think, you can also configure the behavior with the node language = current .... or whatever... (this feature is still there, right?)
But i agree that the selection mode is a concept which we should be able to add.
Can you test if reverting the commit helps and it works after again?
Note that after renaming, you'll need to readd this filter again.
Comment #2
zilverdistel commentedThanks for the quick reply.
What I need for my current project is a fallback to the default language if there is no translated version of a node. I'm not able to do this with the language = one of "current, default" filter, since both nodes get listed then ...
I will test and report back.
Comment #3
zilverdistel commentedIt doesn't work, because the drupal 6 version used the function
$where = i18n_db_rewrite_where($this->table_alias, 'node');, which has been removed from i18n in drupal 7.Daniel Wehner tried to solve this using
i18n_select(TRUE);and switching it off withi18n_select(FALSE);after executing the view. I'm still trying to figure out if this approach will work, but I get a "broken handler" error.Comment #4
miro_dietikerIn Drupal 7 this doesn't work anymore...
There's no selection mode with a fallback. i18n should first provide something like that before we can support it with views...