> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-docs-5554-self-service.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to add custom messages and translations to a Form so each step displays locale-specific copy that matches the language settings of the user.

# 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-dev-feat-docs-5554-self-service/cNqoSrKPlcOzR7Nh/docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?fit=max&auto=format&n=cNqoSrKPlcOzR7Nh&q=85&s=eee160b7a0327adee547b779dc06ac62" alt="Dashboard > Forms > Custom messages and translations > Custom message" data-og-width="704" width="704" data-og-height="539" height="539" data-path="docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-docs-5554-self-service/cNqoSrKPlcOzR7Nh/docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=280&fit=max&auto=format&n=cNqoSrKPlcOzR7Nh&q=85&s=2539644177d04f9d71937c43db7cba3c 280w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/cNqoSrKPlcOzR7Nh/docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=560&fit=max&auto=format&n=cNqoSrKPlcOzR7Nh&q=85&s=587cb19d621654213289d3daed6f75b1 560w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/cNqoSrKPlcOzR7Nh/docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=840&fit=max&auto=format&n=cNqoSrKPlcOzR7Nh&q=85&s=b874d953cb54ace82a97388090129c40 840w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/cNqoSrKPlcOzR7Nh/docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=1100&fit=max&auto=format&n=cNqoSrKPlcOzR7Nh&q=85&s=2ca7c550013b8009b036df8fd24ba75d 1100w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/cNqoSrKPlcOzR7Nh/docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=1650&fit=max&auto=format&n=cNqoSrKPlcOzR7Nh&q=85&s=1939a31fd89a0b815b6db98893b2c603 1650w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/cNqoSrKPlcOzR7Nh/docs/images/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=2500&fit=max&auto=format&n=cNqoSrKPlcOzR7Nh&q=85&s=fc8c9f22e1f9f0b3980c4e7cd16abae1 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-dev-feat-docs-5554-self-service/qMqqa8ZyHff8M8xp/docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?fit=max&auto=format&n=qMqqa8ZyHff8M8xp&q=85&s=f40f645ed8f45fc83a802978b21d0128" alt="Dashboard > Forms > Custom messages and translations > Translation function" data-og-width="450" width="450" data-og-height="449" height="449" data-path="docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-docs-5554-self-service/qMqqa8ZyHff8M8xp/docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=280&fit=max&auto=format&n=qMqqa8ZyHff8M8xp&q=85&s=2f61388b4c0624cb75ab491d8a680f7d 280w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/qMqqa8ZyHff8M8xp/docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=560&fit=max&auto=format&n=qMqqa8ZyHff8M8xp&q=85&s=85a038386f9fcb947b20a051e7bd94a3 560w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/qMqqa8ZyHff8M8xp/docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=840&fit=max&auto=format&n=qMqqa8ZyHff8M8xp&q=85&s=eb3db8a26e0d208bf2f77918ca95e650 840w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/qMqqa8ZyHff8M8xp/docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=1100&fit=max&auto=format&n=qMqqa8ZyHff8M8xp&q=85&s=d1674288a28002cf65bcfd85392e113b 1100w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/qMqqa8ZyHff8M8xp/docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=1650&fit=max&auto=format&n=qMqqa8ZyHff8M8xp&q=85&s=abee1d524b6fb5f60ef602b3679d6325 1650w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/qMqqa8ZyHff8M8xp/docs/images/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=2500&fit=max&auto=format&n=qMqqa8ZyHff8M8xp&q=85&s=90d5b573879ef40c8791ac7f320333fe 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-dev-feat-docs-5554-self-service/jnDsvxOsouB0MQqU/docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?fit=max&auto=format&n=jnDsvxOsouB0MQqU&q=85&s=db67ef3947cff580b6854e68e5803e44" alt="Dashboard > Forms > Custom messages and translations > Translation message" data-og-width="701" width="701" data-og-height="885" height="885" data-path="docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-docs-5554-self-service/jnDsvxOsouB0MQqU/docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=280&fit=max&auto=format&n=jnDsvxOsouB0MQqU&q=85&s=1e5617cce162c7caccf9becf2cf51f71 280w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/jnDsvxOsouB0MQqU/docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=560&fit=max&auto=format&n=jnDsvxOsouB0MQqU&q=85&s=4c47e279d80ecb104f6311882c135598 560w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/jnDsvxOsouB0MQqU/docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=840&fit=max&auto=format&n=jnDsvxOsouB0MQqU&q=85&s=e1254d7c803116028131392c339a8fed 840w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/jnDsvxOsouB0MQqU/docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=1100&fit=max&auto=format&n=jnDsvxOsouB0MQqU&q=85&s=4cbac89f641fdd7d2c13a158b967c9fa 1100w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/jnDsvxOsouB0MQqU/docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=1650&fit=max&auto=format&n=jnDsvxOsouB0MQqU&q=85&s=35f76b4111a8464952a8a45d7251f7d6 1650w, https://mintcdn.com/docs-dev-feat-docs-5554-self-service/jnDsvxOsouB0MQqU/docs/images/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=2500&fit=max&auto=format&n=jnDsvxOsouB0MQqU&q=85&s=a22edffc738a7938d21dd82f98f5e3d9 2500w" />
</Frame>
