No Code Attached Yet
avatar sakiss
sakiss
22 Dec 2020

Steps to reproduce the issue

  1. A multi-lingual site is required (for the example i will use English and German).
  2. Create a tag and set "English" in the language field.
  3. Create an article in German and assign the previously created tag.
    Btw. Loading tags in different language than the article's one, seems buggy.
  4. Create and enable a Tags module.
  5. Check your front-end in the German language.

Tags
tags_be

Article assignment
article_tags

Expected result

The tags in languages other than the site's language not to be loaded.

Actual result

It shows tags from all the languages, that were assigned at least in 1 article.

tags_fe

System information (as much as possible)

Joomla4.0 beta6

Additional comments

Language Filter : Current in the com_tags configuration

avatar sakiss sakiss - open - 22 Dec 2020
avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Dec 2020
avatar sakiss sakiss - change - 22 Dec 2020
The description was changed
avatar sakiss sakiss - edited - 22 Dec 2020
avatar sakiss sakiss - change - 22 Dec 2020
The description was changed
avatar sakiss sakiss - edited - 22 Dec 2020
avatar sakiss sakiss - change - 22 Dec 2020
The description was changed
avatar sakiss sakiss - edited - 22 Dec 2020
avatar chmst
chmst - comment - 26 Dec 2020

As long as an atricle is not saved, the system cannot know for which language you are writing, so how should it select a language for tags? I think that this is normal behaviour.

avatar bembelimen bembelimen - close - 27 Dec 2020
avatar bembelimen
bembelimen - comment - 27 Dec 2020

Go to the Tags options in the backend and set the "language filter" to "Current" to have the expected behaviour (ofc the language detection should set to "browser" in the language plugin):

grafik

avatar bembelimen bembelimen - change - 27 Dec 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-12-27 23:42:17
Closed_By bembelimen
avatar sakiss
sakiss - comment - 28 Dec 2020

@bembelimen I already pointed that the "Language Filter" is set to current.

Plz read the post and try to reproduce the issue, before closing it.

avatar infograf768 infograf768 - change - 28 Dec 2020
Status Closed New
Closed_Date 2020-12-27 23:42:17
Closed_By bembelimen
avatar infograf768 infograf768 - reopen - 28 Dec 2020
avatar bembelimen
bembelimen - comment - 28 Dec 2020

I did and it works as expected:

grafik

German:
grafik

English:
grafik

avatar sakiss
sakiss - comment - 28 Dec 2020

@bembelimen plz follow the instructions as mentioned in my post.
The tag needs to be in different language than the article.

avatar infograf768
infograf768 - comment - 29 Dec 2020

I can't reproduce the issue either on last 4.0-dev

Tag is created (using sample data) Language: en-GB

Screen Shot 2020-12-29 at 11 32 39

Article assigned to French has multiple tags, one is the tag above.

Screen Shot 2020-12-29 at 11 34 41

Displaying the article in frontend (French interface) gives:

Screen Shot 2020-12-29 at 11 35 41

As you can see the Love (en-GB) tag is just ignored.

I suggest you test with last nightly build.
https://developer.joomla.org/nightly-builds.html

avatar sakiss
sakiss - comment - 29 Dec 2020

I could replcate it also using the latest nightly built and in a freshly git cloned installation.

tags_be2

tags_fe_2

In the example above the "Tagen (de-DE)" is not loaded despite it is assigned in a German article while the "Yellow (en-GB)" shows up while the site's language is Geman.

Not sure if i am missing something in order for you to reproduce it.
If anyone else can check it, would be fine.

Language Filter: Current

avatar sandramay0905
sandramay0905 - comment - 14 Apr 2021

@sakiss I couldn't get the behaviour you get.

Only if i set in tag-options the language filter to All the english-tag is shown in popular tag-module and article on german language-site.

avatar Quy Quy - change - 5 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-05 15:49:59
Closed_By Quy
Labels Added: No Code Attached Yet
Removed: ?
avatar Quy Quy - close - 5 May 2022
avatar Quy
Quy - comment - 5 May 2022

Please test PR #37721. Thanks.

Add a Comment

Login with GitHub to post a comment