Date field default value does not translate in French

EdN1
Tera Contributor

Hi everyone,

We have multiple forms on our service portal that are using the OOB Date field. Because we are located in Montreal, all of our forms are developed and translated in French. 

By default, the date field returns an example text by default of YYYY-MM-DD. 

However, we noticed today that when we set our instance in French, that example text is not translated as it should be to AAAA-MM-JJ (french). 

We thought this was a problem in our instance so I did a test on my personal developer instance and the problem is the same. Does anyone know if this is a known SN translation bug and if there is a fix for this? I couldn't find anywhere in the variable where to change this. 

Thank you!

Screenshot:

find_real_file.png

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

I believe it doesn't translate the example text. How is that being shown on form?

Can you share the variable configuration screenshot of that variable?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur, 

By default, this variable's example text is empty. You could try it yourself by putting a standard Date field, the behavior is the same. Please see the screenshot below in the backend and on the form:

find_real_file.png

find_real_file.png

EdN1
Tera Contributor

UPDATE: This seems to be a problem in the San Diego version only. 


I seem to have found a workaround. We put ourselves the actual translation in the example text value that was empty by default. It overwrites the default value of YYYY-MM-DD. 

Not the best workaround if you have multiple date fields all over the place, but it shouldn't be a problem for us since we are using a variable set. 

However if anyone knows how to modify this without this workaround or if it's a known issue, I would love to know. Thanks. 

find_real_file.png


MK35
Tera Contributor

How would you do the same but for a field  not a Variable. I tried setting the default value of the date field  to AAAA-MM-JJ but it does not work.  any idea ?