Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Translation framework Error messages

Avatar

Level 2

Hello,

 

Is there a way a translation connector can influence what gets displayed on a translation job tile, when a TranslationException is thrown from the connector? The generic "Error: Failed to start translation" leads to pretty frustrating user experience.

 

Also, in general, is there any explicit docummentation on what kind of behavior different error codes produce?

 

Thanks and kind regards,

Jan Humpal

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @JanHumpal,

Logic for displaying Error messages on TranslationJob Tile resides in /libs/cq/gui/components/projects/admin/pod/dashboard/translationjobpod/body/body.jsp

Navigate to http://localhost:4502/libs/cq/i18n/translator.html -> Under Dictionaries -> /libs/wcm/core/i18n -> You can find these i18n keys.

Vijayalakshmi_S_0-1619099937613.png

On a very high level, this is displayed based on attribute named workflowOperationError which is set/available on Translation project's path which in turn should be set during Translation workflows (where the payload is our Translation project path)

Vijayalakshmi_S_1-1619100296464.png

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @JanHumpal,

Logic for displaying Error messages on TranslationJob Tile resides in /libs/cq/gui/components/projects/admin/pod/dashboard/translationjobpod/body/body.jsp

Navigate to http://localhost:4502/libs/cq/i18n/translator.html -> Under Dictionaries -> /libs/wcm/core/i18n -> You can find these i18n keys.

Vijayalakshmi_S_0-1619099937613.png

On a very high level, this is displayed based on attribute named workflowOperationError which is set/available on Translation project's path which in turn should be set during Translation workflows (where the payload is our Translation project path)

Vijayalakshmi_S_1-1619100296464.png