cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to translate form error messages?

alessandroventuri
Participant
0 Likes
2,075

I would like to get error messages in the same language of the form

The systems generates them in english. How do I translate them?

Accepted Solutions (0)

Answers (5)

Answers (5)

MichaelRey
Product and Topic Expert
Product and Topic Expert

Dear Alessandro,
these errors come up when a value is inserted into a form that does not match to a field in configuration. So instead of translating the errors, we would recommend the following:
For country, region, language please check the documentation on value restriction for input fields here: https://help.sap.com/viewer/b88f770e4b7c4ecead5477e7a6c7b8f7/latest/en-US/b25ef20d00784b7c9d93e02bc5...

For other fields like department, function etc there are two fields, one that maps to the configuration (and will raise errors) and another called *free text (the name of the field is *_FT) that takes any input. You can then map the input against the configuration in the map free text app.
In that case we would expect that no errors come up and your visitors do not bounce.

Also I would recommend to read this interesting blog on progressive profiling: https://blogs.sap.com/2021/08/04/progressive-profiling-in-forms/
Best regards
Michael

alessandroventuri
Participant
0 Likes

Hello michael.rey, thanks.

Indeed that field is a telephone number. Do you suggest to map it to a free text field? Or are there possible contraindications?

alessandroventuri
Participant
0 Likes

Hello michael.rey

it is unclear from your answer how to select the free text as a field for matching with the telefone number. Can you please indicate the page in the help.sap.com website where can I find it explained? Thanks!

isathore
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Alessendro,

Find information of mapping free text in Map Free Texts - SAP Help Portal.

Best Regards

Isabelle

alessandroventuri
Participant
0 Likes

Hello isabelle.thore, thanks for your help. I've looked at that, but it reads:

You can create free texts in the following categories:

  • Ad Network
  • Country
  • Customer Industry Code
  • Department
  • Device Type
  • Function
  • Gender
  • Language
  • Marital Status
  • Region
  • Title

So, it isn't possible to do it for phone numbers? That's what I understood from michael.rey's answer.

stefan_nasshan
Product and Topic Expert
Product and Topic Expert

Hi alessandroventuri,

I would need to re-create your use case in our development system to debug it during runtime. Could you please describe the settings which you used and steps you performed to generate this error message?

Best regards

Stefan

alessandroventuri
Participant
0 Likes

OK, I will come back later with the info you require. Thanks!

vervinckt_joyca
Active Contributor
0 Likes

Hi alessandroventuri , stefan.nasshan ,

I have the same problem.

My Form is set to language Dutch:

However, the error messages on field validation appear in English.

Only the very last error message underneath the submit button appears in Dutch.

Here are two examples, one is for a mandatory field, another is for a field with validation that it should be numeric.

It happens already in Test Mode on a form (as well as when embedded into a published landing page).

stefan_nasshan
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Joyca,

the mentioned error messages are displayed by the browser in the actual browser language. The browser cannot know that the content being displayed is in another language. We from SAP can only influence the language of the error messages "inside" the Form, i. e. in the HTML body. So I do not see how we would be able to get these messages in another language.

Best regards

Stefan

vervinckt_joyca
Active Contributor
0 Likes

Hi stefan.nasshan

Thanks for your reply.

I don't know how sites/html works, so I also would not know how,

but I know many other form builders can manage this. SAP Emarsys gives a popup with messages in the form's language. SAP Qualtrics has standard validations (eg for email address) readily translated in all languages and allows for custom validation messages too. So I don't know how, but it exists.

alessandroventuri
Participant
0 Likes

Hi stefan.nasshan

this is the error message that need to be translated

stefan_nasshan
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi alessandroventuri,

could you please provide some more details on the use case, it is not clear to me what you exactly want to do

Best regards

Stefan