Download page Translating Custom Messages for Constraint Rules.
Translating Custom Messages for Constraint Rules
Custom messages for Constraint Rules can be translated in multiple languages based on the User's org language.
These messages can be translated from the Custom Messages tab. To set up, you require the Message, Message Tag, and the Source Object ID. The Source Object ID is the Constraint Rule Action ID.
You can add as many language as you want that are supported by Salesforce.
To translate custom messages
You must have an existing constraint rule with message.
Click and click Custom Messages.
To create a new custom message, click New.
Type a mandatory Custom Message Name.
In Message, type the same message you defined in the constraint rule action. For example: If the Constraint Rule Action Message is {1} should be suggested when customers select {0}, the Custom Message must also be {1} should be suggested when customers select {0}.
Based on the language of the User's profile, type the translated message in the relevant message box. For example: For German, type the message in German language in Message_de box.
In Message Tag, type the same message as in the Message box.
Type or copy and paste the Source Object Id.
Click Save.
If the language of the user's profile is German, on the Catalog page, when the Constraint Rule is triggered, the message is displayed in German language.