glide.system.locale is blank, and getReferenceDisplayValue() on a currency is always USD

Foster
Tera Expert

It seems obvious that USD is the default then when glide.system.locale is blank. So, would it be safe to change the glide.system.locale property to en.US even though we already have years of currency values stored?

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

If your currencies entered are in the US format and there doesn't seem like a huge impact, I believe you can safely set that system property. It is advisable to have it set and is usually only empty on brand new installations or zBoot environments: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0695326 

 

Having it set will help with the default otherwise, it's determined per this order: https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/currency/conc... 

 

User locale

The Now Platform® determines the user locale in the following sequence:
  • User record in which the country, or both the country and language, are specified.
  • System locale set using the glide.system.locale property.
  • Browser locale.

Please mark reply as Helpful/Correct, if applicable. Thanks!

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

7 REPLIES 7

glide.i18n.single_currency is false.

glide.i18n.single_currency.code is USD. I suspect our implementer was confused.

Actually, neither of those have been updated since 2010. I guess those are the instance defaults.

Browser locale is probably what's saved us. User records have blank country as well.

 

I read somewhere that currency conversion is a 2-step process: convert from A to Euro, then convert Euro to B. So I was surprised that Euro was not the default if no locale specified. I think browser is what has been deciding it.