Multilingual integration, how to translate form validation messages

Hello,



i am using the API to embed forms in our Drupal 8 website, this is a multilingual website so i was wondering how can we translate the error messages like



This is required.



Our website is in 3 languages.



Thank you

Hello,

i am using the API to embed forms in our Drupal 8 website, this is a multilingual website so i was wondering how can we translate the error messages like

This is required.

Our website is in 3 languages.

Thank you

Same question here for 2 languages…