How to customize date, time, numbers and currency settings in RP Prism 1.14.5

How to customize date, time, numbers and currency settings in RP Prism 1.14.5

 

Beginning with RP Prism 1.14.5.502, the option "Use Custom" in Admin Console > Preferences & Settings > Language & Locale has been removed. Users can select Default Language and Preset Regional Settings but will no longer be able to customize any other options on that setting page.

Instead, users will now be able to edit the javascript file for the corresponding language and country located in the C:\ProgramData\RetailPro\Server\WebClient\Locale folder. The file name will be in the format of angular-locale_XX-YY.js where XX is the ISO Language Code and YY is the ISO Country Code.

See the following links for the complete list:

https://www.w3schools.com/tags/ref_language_codes.asp

https://www.w3schools.com/tags/ref_country_codes.asp

 

Consider a scenario under the English - United States as the Preset Regional Settings for a user who does not want to show currency symbols for their RP Prism installation.

 

Currency Symbols

 

Here are the steps to achieve that goal:

  1. In C:\ProgramData\RetailPro\Server\WebClient\Locale folder, locate the file angular-locale_en-us.js and create a backup.

2. Edit angular-locale_en-us.js in any text editor.

3. Locate the section named "NUMBER_FORMATS":

 

Number Formats

 

 

  1. Remove the $ symbol from the "CURRENCY_SYM" line:

 

Currency Symbol
  1. Save the change.

 

6. Clear the Browser cache and re-launch RP Prism. Now the dollar sign $ is no longer displayed.

 

Remove Symbol

 

Published on Feb 24, 2020 in Customization

 

Find Another Article