Hallo,
i have "Views global support" aktivatet, but Views will not Display contents by the current language.
I see translatet and untranslatet Nodes, but i want only View contents by the current language.
What had I best do?
Hallo,
i have "Views global support" aktivatet, but Views will not Display contents by the current language.
I see translatet and untranslatet Nodes, but i want only View contents by the current language.
What had I best do?
Comments
Comment #1
ozon commentedOk, the Problem still exists, but i get a Workaround.
Add "Localizer : content locale" to the Views Filter an wrote follow Code to the Arguments:
global $locale;
$view->filter[0]['value'] = $locale ;
$view->is_cacheable = 0;
return $args;
It works for me.
Comment #2
ozon commentedComment #3
kliertje commentedOK I added this to template.php and using filters in views was able to display dutch only text. I cheated by putting default text in english. There is no english news. But if there ever is... this will still not work as I have a fake english news story and it does not display in news.
Can you share any ideas of how to solve this one last problem?
thank you.
Comment #4
kliertje commentedweb forms are not playing ball either. I have just translated them via the interface... but it displays on lang. only even though menu items are translated. I also created seperate webforms and tried to link them but nothing works!
Paths are also a problem. I can only use defaul node url's. when I put in a path for a url like contact/contactform the pages dissapear