Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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
Level 10

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
Level 10

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