Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation Issues with Tags #2498

Open
izaquieltome opened this issue Jun 24, 2024 · 0 comments
Open

Translation Issues with Tags #2498

izaquieltome opened this issue Jun 24, 2024 · 0 comments

Comments

@izaquieltome
Copy link

Bug Report

Current Behavior
In a Multilanguage-Environment under Typo3 12.4.16 with News 11.4.2 I want to use Tags for deeper selective sorting. What works is to build the Tags and relate them to the News-Aritcles. What does not work proper is the translation handling.

First there is the Problem, that aTag always has to be unique - this affects also translations, as Language handling is now done in the same table. This seems to be a little problem with the "eval"-property "Unique" of typo3 itself, which does not respect translations.

THe second problem is the TagCount Function, which counts ALL articles related to a Tag. So if I have an article in 3 lagnauges attached to a Tag - it counts 3 instead of one article.

you can have a look at the behavior with these links: (The site will offically launch tomorrow, I will deactivate the count-fuunction in Tags by then)
https://iza.rocks/stories/
https://iza.rocks/en/stories/
https://iza.rocks/pt/blogue/

For example there are counted 9 articles for the Tag "artists" - but there are only 3 - but in 3 languages.
a Translation in default behavior results in a problem, as "artists" is the same in English, "Festival" is the same in all 3 languages ... and so on ...

Expected behavior/output
First a possibility to translate Tags without havcing the "unique" problem throughout Languages.
Second To Count only language-specific Items for a Tag instead of all translations related to a Tag.

Environment

  • TYPO3 version(s): 12.4.16
  • news version: 11.4.2
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: Windows 10

Possible Solution
For the Translation-Problem it may be a solution to just get rid of the "unique"-property in the eval-section. (This also could be done by TCA override, so it's also possible to leave this out ...)
The Count Problem I think needs to respect the sys_language_uid parameter from the dataset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant