Views Polyglot

Categories

Component ID

2702631

Component name

Views Polyglot

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Views Polyglot is a set of tools for advanced language filtering and display in Views.

Polyglot means a person that speaks many languages.

This module contains:

  • Polyglot Filter
  • Polyglot Field

Scenario

Suppose you have a multilingual website with the following articles:

  • Ariticle 1 (in English, Chinese and French)
  • Ariticle 2 (in English and French)
  • Ariticle 3 (in English only)

Using the built-in filters of Views, we can only achieve this:
All languages:

  • Ariticle 1 (English version)
  • Ariticle 1 (Chinese version)
  • Ariticle 1 (French version)
  • Ariticle 2 (English version)
  • Ariticle 2 (French version)
  • Ariticle 3 (English version)

One language:

  • Ariticle 1 (French version)
  • Ariticle 2 (French version)

Polyglot lets you to do this:

  • Ariticle 1
    • English | French | Chinese
  • Ariticle 2
    • English | French
  • Ariticle 3
    • English