Postpone on #2889486: "Has taxonomy term" contextual filter does not take the language value into account. See #6.
Multilingual site (2 languages - English/ French).
There is a content type "Article" which uses a field of type Entity reference to a taxonomy "Category". Both the content type and the taxonomy are translated. All taxonomy terms in "Category" are translated and published in both both languages. Taxonomy "Category" contains a term "News" (tid = 1).
Field "published" in content type "Article" is translated. There are 10 published articles (nodes) with taxonomy term "News" in English (article1, ..., article10). Of those 5 are translated in French (article1, ..., article5). Four of the translated articles are published in French (article1, ..., article4), one - article5 - is NOT published.
The standard Taxonomy term view - /taxonomy/term/% exhibits two distinct behaviours for the term "News" depending on the last saved version of article5:
1. If we save the French (unpublished) version of article5 last then we get UNEXPECTED (wrong in our opinion) behaviour
/en/taxonomy/term/1 lists article1, ..., article4, article6, ..., article10 - (article5 is MISSING) regardless of the fact that the English version of article5 is PUBLISHED. This is the wrong behaviour.
/fr/taxonomy/term/1 lists article1, ..., article4 which is the correct behaviour.
2. If we save the English (published) version of article5 last then we get the EXPECTED behaviour:
/en/taxonomy/term/1 lists article1, ..., article10 - (article5 is present) which is the correct behaviour.
/fr/taxonomy/term/1 lists article1, ..., article4 which is the correct behaviour.
The problem was traced to taxonomy_index table. On node save of the unpublished (French) version, records related to the published (English) version are removed.
Problem occurs on: 8.6.5, 8.7.2