Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Translation framework Error messages

JanHumpal
Level 2
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
Vijayalakshmi_S
Correct answer by
Community Advisor
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
Vijayalakshmi_S
Correct answer by
Community Advisor
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