> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-quickstart-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Describes how to create custom messages and translations with Forms.

# Custom Messages and Translation

You can  customize Form messages to provide your users with a unique Form experience. In addition, you can translate form components, errors, and other custom messages into other languages for a localized experience.

## Messages

Through the Form editor, you can customize error messages and create other custom messages for your users.

### Error messages

You can create custom error messages to replace the default error messages of your forms.

To create custom error messages, follow the steps below:

1. On the Auth0 Dashboard, navigate to **Actions > Forms**.
2. Select **Messages** from the left menu of the Form editor.
3. Select the **Errors** tab\*\*.\*\*
4. Enter your custom error messages in the appropriate fields to replace the default messages.
5. Select **Publish** to save.

### Custom messages

You can create custom messages to add to the default messages for an even further personalized Form experience. For example, you can add a custom message that displays to users when an action returns an error in a flow.

#### Create custom messages

To create custom messages, follow the steps below:

1. From the left menu of the Form editor, select **Messages**.
2. Select the **Custom** tab.Then, select **Add New Item**.
3. To the left, add a unique key for your message\*\*.\*\* Then\*\*, enter\*\* your custom message in the field to the right.
4. Select **Publish** to save.

<Frame>
  <img src="https://mintcdn.com/docs-staging-quickstart-revamp/fNPG21NgQLCA0axA/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?fit=max&auto=format&n=fNPG21NgQLCA0axA&q=85&s=6e02c374dd98255732e5c6fa255c2d2c" alt="Dashboard > Forms > Custom messages and translations > Custom message" data-og-width="704" width="704" data-og-height="539" height="539" data-path="images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-quickstart-revamp/fNPG21NgQLCA0axA/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=280&fit=max&auto=format&n=fNPG21NgQLCA0axA&q=85&s=fc27aa415c64edd15d936265b31a12fc 280w, https://mintcdn.com/docs-staging-quickstart-revamp/fNPG21NgQLCA0axA/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=560&fit=max&auto=format&n=fNPG21NgQLCA0axA&q=85&s=02f63dafc30a60c656a6b7069bdc1ba9 560w, https://mintcdn.com/docs-staging-quickstart-revamp/fNPG21NgQLCA0axA/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=840&fit=max&auto=format&n=fNPG21NgQLCA0axA&q=85&s=a5e7aea31966cca3b77bfb5eaf0f7235 840w, https://mintcdn.com/docs-staging-quickstart-revamp/fNPG21NgQLCA0axA/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=1100&fit=max&auto=format&n=fNPG21NgQLCA0axA&q=85&s=dd00573552e6ecbb8d6fc2020dab45a7 1100w, https://mintcdn.com/docs-staging-quickstart-revamp/fNPG21NgQLCA0axA/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=1650&fit=max&auto=format&n=fNPG21NgQLCA0axA&q=85&s=234fd588fcab7d7b75eb619c39e340b9 1650w, https://mintcdn.com/docs-staging-quickstart-revamp/fNPG21NgQLCA0axA/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=2500&fit=max&auto=format&n=fNPG21NgQLCA0axA&q=85&s=81a3e0895019a678197b2036be63feb5 2500w" />
</Frame>

#### Add custom messages to your forms

To reference your custom messages in your forms, use the function `{{t('custom_unique_key')}}` with the custom message unique key.

<Frame>
  <img src="https://mintcdn.com/docs-staging-quickstart-revamp/R8rXfTj95YBIEuC2/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?fit=max&auto=format&n=R8rXfTj95YBIEuC2&q=85&s=8a6158f5a4d72f110957d72b721e7637" alt="Dashboard > Forms > Custom messages and translations > Translation function" data-og-width="450" width="450" data-og-height="449" height="449" data-path="images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-quickstart-revamp/R8rXfTj95YBIEuC2/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=280&fit=max&auto=format&n=R8rXfTj95YBIEuC2&q=85&s=b23cbac21330e1818a695f03fa55f2d0 280w, https://mintcdn.com/docs-staging-quickstart-revamp/R8rXfTj95YBIEuC2/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=560&fit=max&auto=format&n=R8rXfTj95YBIEuC2&q=85&s=42ca37b47e7be5797aaaf160cf9051e8 560w, https://mintcdn.com/docs-staging-quickstart-revamp/R8rXfTj95YBIEuC2/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=840&fit=max&auto=format&n=R8rXfTj95YBIEuC2&q=85&s=8d545bb3a07e978406e4c10478607be9 840w, https://mintcdn.com/docs-staging-quickstart-revamp/R8rXfTj95YBIEuC2/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=1100&fit=max&auto=format&n=R8rXfTj95YBIEuC2&q=85&s=5146d863c03169a7c8c7ed2ca826ceb8 1100w, https://mintcdn.com/docs-staging-quickstart-revamp/R8rXfTj95YBIEuC2/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=1650&fit=max&auto=format&n=R8rXfTj95YBIEuC2&q=85&s=d343c5463cecd1a60926a2b33305b7f7 1650w, https://mintcdn.com/docs-staging-quickstart-revamp/R8rXfTj95YBIEuC2/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=2500&fit=max&auto=format&n=R8rXfTj95YBIEuC2&q=85&s=fc99247b20561fa441cc6dafd94efd30 2500w" />
</Frame>

## Translations

You can use the Translations feature to create an international user experience of your forms. This feature leverages a user’s browser language to determine the appropriate language for your forms.
By default, translations for some standard error messages are provided in Spanish. However, to promote a quality user experience, you can define the translations for your form components, errors, and custom messages in the language of your choice.

To enable translations, follow the steps below:

1. On the Auth0 Dashboard, navigate to **Actions > Forms**.
2. Select **Translations** from the left menu of the Form editor.
3. Check **Enable additional languages**.
4. Select the desired languages from the **Additional languages** dropdown menu.

### Translate messages

With the language editor, you can define translations for your form components, errors, and other custom messages.

To define your translations, follow the steps below:

1. Select the desired language from theSelect language dropdown menu.
2. Select one of the following tabs to begin defining your translations:

   1. **Components**
   2. **Errors**
   3. **Custom**
3. For each available field, provide your translations as needed.
4. Select **Publish** to save.

<Frame>
  <img src="https://mintcdn.com/docs-staging-quickstart-revamp/A1o6LcInzX_m5Dvq/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?fit=max&auto=format&n=A1o6LcInzX_m5Dvq&q=85&s=ffb0687b57eeaa43409463237abdff5d" alt="Dashboard > Forms > Custom messages and translations > Translation message" data-og-width="701" width="701" data-og-height="885" height="885" data-path="images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-quickstart-revamp/A1o6LcInzX_m5Dvq/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=280&fit=max&auto=format&n=A1o6LcInzX_m5Dvq&q=85&s=ef5f4b7521bad8f007c820c4c9b435c7 280w, https://mintcdn.com/docs-staging-quickstart-revamp/A1o6LcInzX_m5Dvq/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=560&fit=max&auto=format&n=A1o6LcInzX_m5Dvq&q=85&s=c2507b6328723f6e0855b66e568b7f15 560w, https://mintcdn.com/docs-staging-quickstart-revamp/A1o6LcInzX_m5Dvq/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=840&fit=max&auto=format&n=A1o6LcInzX_m5Dvq&q=85&s=e3d89f3f8bde39b459cedfa8ef7a9e94 840w, https://mintcdn.com/docs-staging-quickstart-revamp/A1o6LcInzX_m5Dvq/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=1100&fit=max&auto=format&n=A1o6LcInzX_m5Dvq&q=85&s=28b2ad8316792ea55c6ac8bf1bb6ab94 1100w, https://mintcdn.com/docs-staging-quickstart-revamp/A1o6LcInzX_m5Dvq/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=1650&fit=max&auto=format&n=A1o6LcInzX_m5Dvq&q=85&s=b027520496e984af997465b2b61cc8c8 1650w, https://mintcdn.com/docs-staging-quickstart-revamp/A1o6LcInzX_m5Dvq/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=2500&fit=max&auto=format&n=A1o6LcInzX_m5Dvq&q=85&s=be043cfea296133b1c757ff392098cd8 2500w" />
</Frame>
