-
Notifications
You must be signed in to change notification settings - Fork 69
"Unused elements detected" when translating page with "Connected mode" #609
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
Comments
i @andihuber , i cannot reproduce, maybe any site-effects with other extensions, or wrong configurations? this behaviour here is my DB default language
translate
(btw. sorting of translation is wrong here, this will fixed with #610
|
We have the same problem here... Translation English (0) to German (1) in Connected Mode |
I’m experiencing the same issue on my end. What I’ve noticed is that it only occurs when containers are nested. From the screenshot, it looks like the author is also nesting containers. I believe the issue lies in the database: specifically, with the tx_container_parent ID of the content elements when containers are nested. In my database, when I use the connected translation function, it creates a copy of the container and its inner elements in the tt_content table. However, the inner elements still reference the original container in the tx_container_parent field, instead of the translated one. This seems to be intended, it doesn't make any problems and displays the content in the right way without the "unused content"-issue. Interestingly, the elements of the nested container do get linked to the translated container and it seems to me that this creates the issue. As a temporary fix, if I manually change the tx_container_parent value of the affected content elements to the ID of the nested container from the original language, the issue is resolved and the content displays correctly on the translated page and in the backend. I’ve also observed that this problem seems to occur only when translating the entire page at once. If I break the process into two steps — first translating the top-level containers (including their nested containers), and then translating the inner content elements — the issue does not appear. I try to make this more clear: Original Language:
Translated Language:
Translated Language hotfix:
|
Typo3 v13.4.5
Container: 3.1.6
When i translate page content in "Connected mode" (German -> English) then i get unused elements in the new language.
For example i have:
Container Element -> 2 Columns -> inside for example Text and Header
The Text and Header elements then are listed in the footer of the page as "unused elements" AND they are in the container itself
Some more facts:
This issue just occurs when translating in "Connected mode". When i use "Copy mode" for translation everything is fine.
Please heeelp :-)
The text was updated successfully, but these errors were encountered: