sitegeist / Sitegeist.LostInTranslation

Automatic Translations for Neos via DeeplApi
GNU General Public License v3.0
9 stars 9 forks source link

Cannot use the 'sync' mode where translating first time #28

Open scriptonepankaj opened 1 year ago

scriptonepankaj commented 1 year ago

When the translationStrategy is set to 'sync' and then I goto a page, change language and then select "Create and copy" then content is not translated. It only works in 'once' mode.

Following condition in NodeTranslationService->afterAdoptNode() is blocking the 'sync' mode

if ($translationStrategy !== self::TRANSLATION_STRATEGY_ONCE) { return; }