Localizer + Views only show current language entries

Riccardo83 - October 29, 2008 - 15:22
Project:Localizer
Version:5.x-3.13
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

hey guys, i have this site listing all discographies of a singer:
http://www.alizee-fanpage.com/en/discography

I understand if I put a filter in there that I can only show the langauge I want, like spanish, english or so...

But this would also Mean I would have to create a View for each Language which I dont really want to do?

Is there a work-around?

#1

Riccardo83 - November 4, 2008 - 13:00

Hello? does no one know how to set Views to show current language without using the Node: Language Filter?

#2

TwiiK - November 26, 2008 - 15:02

Are you talking about the "Node : Language"-filter? If so that isn't the one you should be using in your case. Remove that filter and instead add the "Localizer : activate generic support"-filter to your view. That filter should make your view only display nodes in the chosen language.

But what annoys me is that I have this working on one site, but I'm unable to make it work on a new site now. It displays all languages no matter what I do. :/

Edit: I actually made it work using your method. I created a node, set the input format to php and printed my view in that node. Then I cloned the view for my other languages and translated the node printing the view for that language in the translated node. Worked like a charm. Of course it's more work than using the generic support which normally works perfectly, but at least it is working for me now. :)

 
 

Drupal is a registered trademark of Dries Buytaert.