Skip to content

Commit

Permalink
feat(embed): add locale
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeladeira committed Apr 10, 2024
1 parent 971b22e commit 053099f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/embed/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ However, if you want to have a better understanding, you can customize the appea

#### Customizing

- `locale`: The language of the form. Default is `pt-BR`. Available languages are:
- `pt`
- `en`
- `es`
- `call_to_action`: The text displayed on the submit button. Default is _"Inscrever"_.
- `thanks_message`: The message displayed to the user after submitting the form. Default is _"Inscrição realizada com sucesso! Em breve você receberá novidades por email."_. If you want to redirect the user after submitting the form, you can use the `redirect_url` attribute instead.
- `redirect_url`: The URL to redirect the user after submitting the form. _Optional_.
Expand Down Expand Up @@ -97,7 +101,6 @@ The available attributes are:
- `custom_field_<index>_required`: Whether the custom field is required. Default is `false`.
- `custom_field_<index>_placeholder`: The placeholder text of the custom field. _Optional_.


---

## Support
Expand Down

0 comments on commit 053099f

Please sign in to comment.