> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/b2b-lock-password-protect/other-settings/translate-checkout-rules-default-messages.md).

# Translate Checkout rule's default messages

In the app, error messages are divided into **two types**:

* **Custom message** → A general message shown to the customer.
* **Condition-based messages** → Displayed based on the specific conditions configured in the app, helping the customer understand the exact reason why checkout is not allowed.

Error messages also support **multi-language**. If multiple languages are enabled and published in **Shopify (Admin → Settings → Languages)**, then when customers switch the theme language, the checkout error messages will automatically be translated as well.

<figure><img src="/files/ocK6LDtKrQHD9mhA4LDG" alt=""><figcaption></figcaption></figure>

**Step to manage:**&#x20;

1. Go to **Locks** > Open the created lock:

<figure><img src="/files/8LX11TEBCNWpZtoypXG6" alt=""><figcaption></figcaption></figure>

2. In the **Checkout rules** section, navigate the **Error message** part > **Default language**, you will see all languages available (to add more languages, please set up in **Shopify Settings** as mentioned above)

<figure><img src="/files/C0q5e7pObexflu1lbQIT" alt=""><figcaption></figcaption></figure>

3. Click on the language you want and translate the texts:

<figure><img src="/files/yCrXxQtpQF4kMWCVHmRB" alt=""><figcaption></figcaption></figure>

4. Then **Save** the changes.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.samita.io/b2b-lock-password-protect/other-settings/translate-checkout-rules-default-messages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
