dantz
dantz

Reputation: 1862

Views 2: Filter Nodes by selected language

I have a Drupal 6 multilanguage installation and I want to filter the nodes displayed by a view based on the language the user selected.

When adding "Node translation: Language" but I still get all entries. Any ideas what I missed?

Upvotes: 1

Views: 1892

Answers (1)

Jozzeh
Jozzeh

Reputation: 841

In Views you can select at the Filters-> "Node translation: Current user's language"

This gives the nodes that are published in the language of the current user.


If you are using the i18n module, there is a filter called "i18n: Content Negotation" which handles the appropriate language for you.

Upvotes: 1

Related Questions