Expand my Community achievements bar.

SOLVED

How to change language (locale) of the calculation override error message?

Avatar

Level 8

The form is in French, and the built-in error is showing in English. How we can fix this?

This error is showing because the field is calculated (read-only), and there is code that unlocks all fields in the form, and this field becomes write-enabled. So, in this case if the user tries to modify it, he will get this error. Any way to fix it? This is not accepted by French users.

1536969_pastedImage_0.png

Tarek

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Tarek,

Sounds like it should be simple, but hasn't proved to be.  The closest I've come is to edit the XML to look like;

            <calculate override="error">

               <message>

                  <text name="override">Some french transation</text>

               </message>

               <script contentType="application/x-javascript">"value"</script>

            </calculate>

This doesn't remove the English error but does let you add a French one above it.

Regards

Bruce

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Tarek,

Sounds like it should be simple, but hasn't proved to be.  The closest I've come is to edit the XML to look like;

            <calculate override="error">

               <message>

                  <text name="override">Some french transation</text>

               </message>

               <script contentType="application/x-javascript">"value"</script>

            </calculate>

This doesn't remove the English error but does let you add a French one above it.

Regards

Bruce