PIT-Solutions-Private-Limited / ai_translate

1 stars 2 forks source link

Translation of Content Elements in Container (s) not directly works - Container children are not recognized #3

Open enilee opened 3 months ago

enilee commented 3 months ago

Hi guys,

the translation works great for normal content elements. But how it works for elements in containers?

My System: TYPO3 12.4.11 container 2.3.1 ai_translate 3.1.0

I tested the following ways and found out the following:

  1. Container with 2 columns, one text element in each column After I clicked "Translate (deepl)", ONLY the container was displayed as an element to be translated, not the text elements. The standard language was used, no translation into EN.

  2. After I deleted a text element in English (same translated container) and clicked "Translate (deepl)" again, the text element to be translated was displayed and translated correctly.

To me it looks as if ai_translate does not recognize the elements within the container, does not display them and therefore does not translate them. Only the 1. Level/depth of content, no nesting.

The technology exists and works, but it doesn't work the 1st time, but only when individual elements are deleted from the container that has already been translated and retranslated

i look forward to this optimization


image image image image image image
pitssavinmb commented 1 month ago

This issue fixed in ai_translate latest version 3.1.1

enilee commented 1 month ago

I just tested the translation online via ai_translate. Worked well on one side, but not on another (page – column elements) the breaks (
) were swallowed up in text.

<h5><strong>Contact</strong></h5>
<p>test<br />test<br />test<br />test<br /><a href="mailto:info@test.de">info@test.de</a></p>

All

<br />

have been removed!

pitssavinmb commented 1 month ago

You can apply this patch file ai_translate-26c06dc-Bug fix.patch