developer-documentation icon indicating copy to clipboard operation
developer-documentation copied to clipboard

POST/PUT/PATCH email api translation parent

Open PurHur opened this issue 4 years ago • 1 comments

I opened this PR for a discussion. https://github.com/mautic/mautic/issues/7604 pointed out that you dont have to specify translationParent but templateTranslationParent OR segmentedTranslationParent instead. This works on the current 2.16 release fine.

Beside that, translationChildren are not evaluated because the backend always calls $parent->getTranslationChildren().

How would i document that different variable name depended on emailType? If i have a "nicer" solution i will create a fresh clean PR.

PurHur avatar Mar 10 '20 13:03 PurHur

Please hit me if yout need something from me. Sadly i dont use mautic anymore (great software by the way!!!), so i dont have a lot of time anymore.

PurHur avatar Nov 03 '23 17:11 PurHur