Showing the rule message in the customer’s language makes it easier for them to understand what they need to change before continuing.
Before you start
- Make sure your store is on the Premium plan, which includes Multilingual Messages.
- Prepare the message you want to use as the default.
- Prepare the translated message for each language you want to add.
Steps
1. Install Nex Validator
If Nex Validator is not installed yet, install it from the Shopify App Store and approve the required permissions. If it is already installed, skip to the next step.
2. Open the rule you want to use and enable Multilingual Messages.
3. Choose your default language and enter the main message in Default Message. This message is shown when a customer uses a language you have not added a translation for. Example — Language: English, Message: “Your cart must contain at least 5 items.”
4. Click Add message translations, select the Language, and enter the translated version of the same Message. Example — Language: Spanish, Message: “Tu carrito debe contener al menos 5 artículos.”
5. Repeat step 4 for any other languages you want to support. Make sure the rule is Enabled, then click Save.
Verify it worked
- Open the store in a language you added and create a cart that breaks the rule → the translated message should appear.
- Test a language that does not have a translation → the default message should appear.
- If you show messages in both the cart and checkout, check that the correct message appears in both places.
Keep translations in step
If you change a rule value, remember to update the number in every translated message too. For example, if the minimum changes from 5 items to 10 items, update both the default message and every translation from 5 to 10.