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

# Messages personnalisés et traduction

> Cette section décrit comment créer des messages personnalisés et des traductions avec les formulaires.

Vous pouvez personnaliser les messages du formulaire pour offrir à vos utilisateurs une expérience unique. En outre, vous pouvez traduire les composants des formulaires, les erreurs et d’autres messages personnalisés dans d’autres langues pour une expérience localisée.

## Messages

Grâce à l’éditeur de formulaires, vous pouvez personnaliser les messages d’erreur et créer d’autres messages personnalisés pour vos utilisateurs.

### Messages d’erreur

Vous pouvez créer des messages d’erreur personnalisés pour remplacer les messages d’erreur par défaut de vos formulaires.

Pour créer des messages d’erreur personnalisés, suivez les étapes ci-après :

1. Dans Auth0 Dashboard, accédez à **Actions > Forms (Formulaires)**.
2. Sélectionnez **Messages** dans le menu de gauche de l’éditeur de formulaire.
3. Sélectionnez l’onglet **Errors (erreurs)**.
4. Saisissez vos messages d’erreur personnalisés dans les champs appropriés pour remplacer les messages par défaut.
5. Sélectionnez **Publish (Publier)** pour enregistrer.

### Messages personnalisés

Vous pouvez créer des messages personnalisés à ajouter aux messages par défaut pour une expérience de formulaire encore plus personnalisée. Par exemple, vous pouvez ajouter un message personnalisé qui s’affiche aux utilisateurs lorsqu’une action débouche sur une erreur dans un flux.

#### Créer des messages personnalisés

Pour créer des messages personnalisés, suivez les étapes ci-après :

1. Dans le menu de gauche de l’éditeur de formulaires, sélectionnez **Messages**.
2. Sélectionnez l’onglet **Custom (Personnalisés)** , puis **Add New Item (Ajouter un nouvel élément)**.
3. À gauche, ajoutez une clé unique pour votre message\*\*.\*\* Ensuite, **saisissez** votre message personnalisé dans le champ à droite.
4. Sélectionnez **Publish (Publier)** pour enregistrer.

<Frame>
  <img src="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dAxpHtwAh_5Lz59q/docs/images/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?fit=max&auto=format&n=dAxpHtwAh_5Lz59q&q=85&s=c8621318dee22b797e9304a632e78eec" 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/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dAxpHtwAh_5Lz59q/docs/images/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=280&fit=max&auto=format&n=dAxpHtwAh_5Lz59q&q=85&s=3a552eb2f7b4b482d1b0f3566e7a341c 280w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dAxpHtwAh_5Lz59q/docs/images/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=560&fit=max&auto=format&n=dAxpHtwAh_5Lz59q&q=85&s=da7c8fad693ec5fc08d7430bc6936ad4 560w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dAxpHtwAh_5Lz59q/docs/images/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=840&fit=max&auto=format&n=dAxpHtwAh_5Lz59q&q=85&s=cba1e0ed4ee682d6b81b750b9551e8a4 840w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dAxpHtwAh_5Lz59q/docs/images/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=1100&fit=max&auto=format&n=dAxpHtwAh_5Lz59q&q=85&s=eba500ba25890932e5a03196e8e9a2b8 1100w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dAxpHtwAh_5Lz59q/docs/images/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=1650&fit=max&auto=format&n=dAxpHtwAh_5Lz59q&q=85&s=8f380b18f037a471ad2c86b1ff888005 1650w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dAxpHtwAh_5Lz59q/docs/images/fr-ca/cdy7uua7fh8z/1upBOwWqntPPQF8fqGeN6T/a65674d05c823c5fbe703265558693e4/custom-message.png?w=2500&fit=max&auto=format&n=dAxpHtwAh_5Lz59q&q=85&s=67004ddb2183c48d1caf629c1cbca8b3 2500w" />
</Frame>

#### Ajouter des messages personnalisés à vos formulaires

Pour référencer vos messages personnalisés dans vos formulaires, utilisez la fonction `{{t(’custom_unique_key’)}}` avec la clé unique du message personnalisé.

<Frame>
  <img src="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/H2Y6GTnAhXrg6HXj/docs/images/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?fit=max&auto=format&n=H2Y6GTnAhXrg6HXj&q=85&s=59095f58bf1d7facb27ce7370c4b0dbe" 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/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/H2Y6GTnAhXrg6HXj/docs/images/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=280&fit=max&auto=format&n=H2Y6GTnAhXrg6HXj&q=85&s=d1bbef9c270eaeb00c9f7b50cd473ce7 280w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/H2Y6GTnAhXrg6HXj/docs/images/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=560&fit=max&auto=format&n=H2Y6GTnAhXrg6HXj&q=85&s=1cda3c25d63b81f7985eafb99a9a8ed8 560w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/H2Y6GTnAhXrg6HXj/docs/images/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=840&fit=max&auto=format&n=H2Y6GTnAhXrg6HXj&q=85&s=64b2876a8a760ca22587ff79a6545953 840w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/H2Y6GTnAhXrg6HXj/docs/images/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=1100&fit=max&auto=format&n=H2Y6GTnAhXrg6HXj&q=85&s=d4f2e4075426fe71fa3680f8a8a75ead 1100w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/H2Y6GTnAhXrg6HXj/docs/images/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=1650&fit=max&auto=format&n=H2Y6GTnAhXrg6HXj&q=85&s=737d3ca196872f9615a3ffffe6884cad 1650w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/H2Y6GTnAhXrg6HXj/docs/images/fr-ca/cdy7uua7fh8z/45p4V7w5gw7DQZyJ08ECSH/d040720d9aa19f6e97e21defcd428e55/translation-function.png?w=2500&fit=max&auto=format&n=H2Y6GTnAhXrg6HXj&q=85&s=ef101e844632c6600ee5d0210c9624eb 2500w" />
</Frame>

## Traductions

Vous pouvez utiliser la fonctionnalité Translations (traduction) pour créer une expérience utilisateur internationale pour vos formulaires. Cette fonctionnalité s’appuie sur la langue du navigateur de l’utilisateur pour déterminer la langue appropriée pour vos formulaires.
Par défaut, des traductions pour certains messages d’erreur standard sont fournies en espagnol. Cependant, pour promouvoir une expérience utilisateur de qualité, vous pouvez définir les traductions de vos composants de formulaire, des erreurs et des messages personnalisés dans la langue de votre choix.

Pour activer les traductions, suivez les étapes ci-dessous :

1. Dans Auth0 Dashboard, accédez à **Actions > Forms (Formulaires)**.
2. Sélectionnez **Translations (Traductions)** dans le menu de gauche de l’éditeur de formulaire.
3. Cochez **Enable additional languages (Activer des langues supplémentaires)**.
4. Sélectionnez les langues souhaitées dans le menu déroulant **Additional languages (Langues supplémentaires)**.

### Traduire les messages

Avec l’éditeur de langue, vous pouvez définir des traductions pour vos composants de formulaire, erreurs et autres messages personnalisés.

Pour définir vos traductions, suivez les étapes ci-après :

1. Sélectionnez la langue souhaitée dans la liste déroulante **Select language (Sélectionner la langue)**.
2. Sélectionnez l’un des onglets suivants pour commencer à définir vos traductions :

   1. **Components (Composants)**
   2. **Errors (Erreurs)**
   3. **Custom (Personnalisés)**
3. Pour chaque champ disponible, fournissez vos traductions si nécessaire.
4. Sélectionnez **Publish (Publier)** pour enregistrer.

<Frame>
  <img src="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dG3TG3k3OBsoeXy1/docs/images/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?fit=max&auto=format&n=dG3TG3k3OBsoeXy1&q=85&s=da2d6ba4d718754d2d0c9dfe19e43d12" 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/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dG3TG3k3OBsoeXy1/docs/images/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=280&fit=max&auto=format&n=dG3TG3k3OBsoeXy1&q=85&s=aabfb24a9fd7316bd4b8e065256093ad 280w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dG3TG3k3OBsoeXy1/docs/images/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=560&fit=max&auto=format&n=dG3TG3k3OBsoeXy1&q=85&s=61918c0783751685b34b9f57348eb7bd 560w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dG3TG3k3OBsoeXy1/docs/images/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=840&fit=max&auto=format&n=dG3TG3k3OBsoeXy1&q=85&s=49316f1783cb63ba7de92d6c126f0c65 840w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dG3TG3k3OBsoeXy1/docs/images/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=1100&fit=max&auto=format&n=dG3TG3k3OBsoeXy1&q=85&s=6eeca8fc76aed75e2fd089175b02e2eb 1100w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dG3TG3k3OBsoeXy1/docs/images/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=1650&fit=max&auto=format&n=dG3TG3k3OBsoeXy1&q=85&s=cecf0bbd4b8b24d160b0c604f8a7fc79 1650w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/dG3TG3k3OBsoeXy1/docs/images/fr-ca/cdy7uua7fh8z/5HY9FA6HZct2XNv5K4pCHY/c5977a7825e15285c3d77c2ca1e299a8/translation-message.png?w=2500&fit=max&auto=format&n=dG3TG3k3OBsoeXy1&q=85&s=40406024e906375957d320c376b209a8 2500w" />
</Frame>
