The CreatorCon Call for Content is officially open! Get started here.

glide.system.locale in our instance is set to GBP But we want to change it to en.GB

Saurabh Singh5
Tera Expert

Hi All,

 

We want to move the "glide.system.locale" from GBP to en.GB, Can some one explain what would be the consequences where all it would impact on a general note please.

 

We are looking at places like the catalog item, Cmdb_ci_servers where cost and cost currency are set. To many things on the community say the same thing but doesn't explain in clear manner as to what would be the consequences.

 

Like while fetching the data from the currency field we might get the wrong information and example to explain it would help much better understand this query please.

 

Thank you for your help in advance its much appreciated,

Saurabh Singh

 

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi @Saurabh Singh5 

the document only says "Do not change this value once a system has gone into production." but not why this should be a problem. It's better you ask ServiceNow as most of us are setting this property correctly right from the beginning and thus never had to deal with consequences on changes.

Maik

Hi Maik,

 

Thank you for your response i have reached out to the Hi team, Hopefully we get more information on this.

 

Regards,

SS

 

Thanks in advanced if possible please response.

 

Did you get any response from serivcenow team either we can change the Locate or not?

 

Saurabh Singh5
Tera Expert

Hi,

This is the response we got from service-now team:


Based on the properties page, as well as the documentation, indeed you would not lightly want to choose to switch a currency.

As GBP is not a valid value for specific property "glide.system.locale" the platform is expected to default to en.US (and thus USD)

Since we have set the instance to use single currency, glide.i18n.single_currency.code=GBP, you would have to check how the currencies have been handled since it was set in the beginning.
For any user without a location set this may still have been handled as USD instead of GBP

Next Steps:
From here there are 2 options:

A. The "easy" way;
1. Set a default value for the user location field to a GBP region and update all users with that as well where at present the sys_user location is empty.
2. Set the property's like below, basically as it applies now so effectively not making a change just clarifying that
glide.system.locale = en.US
glide.i18n.single_currency.code=GBP

B. The thorough but harder and slower way;
1. For any user that did not have a location, update them to a location that matches en.US
2. As the reference currency is changing the values of all the records for example on /fx_price_list.do and /fx_currency_instance_list.do need to be updated (if they are other than 0 at least) taking the amount and reference currency into consideration especially if the amount is not GBP it needs to be recalculated based on the exchange rate of the day the record was updated.
3. Changing the base localization & currency properties of the instance.
glide.system.locale = en.GB
glide.i18n.single_currency.code=GBP

we choose the easy way.