diff --git a/api/v1/submissions/SubmissionController.php b/api/v1/submissions/SubmissionController.php index 346f3c183fc..85dcf567d58 100644 --- a/api/v1/submissions/SubmissionController.php +++ b/api/v1/submissions/SubmissionController.php @@ -164,6 +164,7 @@ protected function getPublicationTitleAbstractForm(Request $illuminateRequest): $section = Repo::section()->get($publication->getData('sectionId'), $context->getId()); $locales = $this->getPublicationFormLocales($context, $submission); + $submissionLocale = $submission->getData('locale'); $titleAbstract = new TitleAbstractForm( $publicationApiUrl, @@ -172,6 +173,7 @@ protected function getPublicationTitleAbstractForm(Request $illuminateRequest): $section->getData('wordCount'), !$section->getData('abstractsNotRequired') ); - return response()->json($titleAbstract->getConfig(), Response::HTTP_OK); + + return response()->json($this->getLocalizedForm($titleAbstract, $submissionLocale, $locales), Response::HTTP_OK); } }