How do you translate custom error messages that pop up on the employee center?

JHughes62
Tera Expert

Hi, 

We have a custom catalog client script, where based on the selection of a specific option in a variable on a record producer, it will display an error message at the top of the employee center, for e.g. see screenshot.

Currently we have the error message in English, how and where can we add the necessary translation, so when a user who logs in for e.g. in French, they see the French translation of this?

JHughes62_0-1690354316393.png

 

8 REPLIES 8

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @JHughes62 

Greetings!

this can be translated from sys_ui_message table.

check if there is an entry already for this error message. else create new entry where Key is English content. Message is French translation value.

RaviChandra_K_0-1690355865614.png

 

Please mark my answer correct and helpful if it helps you!

Kind Regards,

Ravi Chandra.

Hi @Ravi Chandra_K - thank you for the reply, I have just tested this but still no luck. 

I created a new entry, with the key as the English content and the message as French and language as French.

Then when testing as a French user, when selecting the specific option where the error message is displayed, it is still displayed In English

Hi @JHughes62 

translations take time to reflect.

try clearing system cache by cache.do command.

or try logging out and logging in.

if this doesn't work still, please share the record image you have created.

Please mark my answer correct and helpful if it helps you!

Kind Regards,

Ravi Chandra.

 

Thanks again for the reply @Ravi Chandra_K I have cleared cache aswell as logged out and in, however nothing is still taking affect.

Please see below our catalog client script and entry on the system ui messages table

JHughes62_1-1690371462368.png

 

 

JHughes62_3-1690371715859.png