Changing language in calendar

SynneL
Tera Contributor

Hello!

I am trying to change the language of a calendar widget in the service portal from english to new norwegian. We have been creating manual translations for new norwegian in other parts of this portal. After some research, we have found that even though there is an existing  moment.js library translation for new norwegian when navigating directly to the url, it will not retrieve the correct translation. 

 

Has anyone solved this problem earlier? 

SynneL_0-1765982446781.png

 

8 REPLIES 8

Hi @SynneL

 

if you want to change the first day of the week, then follow to the article below.

 

Setting Monday as the first day of the week in the calendar report:

 

Resolution

This can be achieved by creating the below system properties-

* glide.ui.filter.first_day_of_week = 2
* glide.ui.date_format.first_day_of_week= 2
* glide.ui.date_picker.first_day_of_week = 2

  1. Go to the System Properties table: sys_properties.list
  2. If the property does not already exist, create a new property by clicking on New.
  3. Set the following values:
    • Name: glide.ui.filter.first_day_of_week
    • Type: Integer
    • Value = 2 (for Monday)
  4. Save the record.
  5. Do the same for all three Sys properties to resolve the issue

  

_____
No AI was used in the writing of this post. Pure #GlideFather only

@SynneL 

better to raise case with ServiceNow

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

@SynneL 

-> I created a date/time variable in catalog item and then changed language as French and it translated the months etc

AnkurBawiskar_0-1766048507876.png

 

-> Since you are using momentjs to render ServiceNow in this KB already informed they are not going to address this in the platform as it's an external library

Service Portal date picker month is translated wrong in Polish language selected (e.g. "stycznia|sty... 

-> Raise a case with ServiceNow won't help here

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

@SynneL 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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