Date field default value does not translate in French
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 07:24 AM
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:
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 07:36 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 08:03 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2023 11:01 AM
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 ?