How to translate error messages in DC order limits
DC Order Limits allows you to ensure customers receive clear and helpful messages when they encounter order limits. By translating these error messages, you can make sure every customer understands your store's specific limits
Getting Started
To begin translating error messages, first access the DC Order Limits app. From your Shopify store's admin panel, use the search bar to find and click on "DC Order Limits".
1. Access Order Limit Creation
- On the dashboard, click "Create order limits".
2. Open the "Edit Locales" Section
- On the "Order Limits" page, click "Edit locals". You will find this button next to "Create rule".
3. Manage Your Translation Languages
- Your default language (which holds the original messages).
- All the languages you have previously created translations for.
- To add a new language, click "Add language"
4. Understand Language Selection
Important Note: Changing the language in this section does not automatically translate the error messages below. This selection is solely to help you organize different sets of translations on the main page. You will still need to manually write the translated messages in each box.
5. Translate Your Error Messages
This is where you will input your translated error messages.
Key things to keep in mind while translating:
- Maintain Curly Brackets: While translating these messages, ensure that the words and symbols enclosed in curly brackets, such as {min_quantity} or {current_price}, remain unchanged. They are dynamic placeholders that the application automatically populates with the appropriate numbers, prices, or other values for the user.
- Customize Sentence Structure: You can change the rest of the sentence to fit the grammar, flow, and tone of your chosen language.
- Optional Variables: Only include variables (the text within curly brackets, e.g.," {min_quantity}" if they add important information or clarity to your translated message. If a variable isn't relevant to the meaning of your translated message, you can omit it.
Examples:
- Correct: Vous devez avoir au moins {min_quantity} articles, mais vous en avez {current_quantity}.
- Incorrect: Vous devez avoir au moins {quantité_min} articles... (The variable name {quantité_min} was incorrectly translated.)