Problem/Motivation

In order to properly support multiple languages all custom views must be language aware, i.e. display content in the current website language.

Steps to reproduce

  • Create a news node in one language
  • Translate it to another language
  • Go to the new page -> two translations are being displayed

Proposed resolution

Make all custom views language-aware, i.e. add filters by current langauge

Remaining tasks

Review MR

User interface changes

Translated items are not duplicated in views

API changes

None

Data model changes

None

Issue fork la_eu-3565238

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

taran2l created an issue. See original summary.

taran2l’s picture

Issue summary: View changes
taran2l’s picture

Status: Active » Needs review

evilargest made their first commit to this issue’s fork.

evilargest’s picture

For an unknown reason, the language filter did not work for the Events view displays. Also, upon resaving the filters on either of the two displays, the "Sticky at the top lists" filter was disappearing as well. After some adding and removing, I finally managed to have both filters. All other Views were that the language filter was added work as expected

svendecabooter’s picture

Status: Needs review » Reviewed & tested by the community

Tested with events & news overviews, and seems to work OK.

  • taran2l committed 225cf4be on staging
    feat: #3565238 Make views language aware
    
    By: taran2l
    By: evilargest
    By...
taran2l’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.