Symptoms

Currency symbols for prices are shown in CCP v2 in a different way depending on the current user locale. For example, the dollar sign ($) is displayed after the price in the German locale but for the English one it is shown before the price:

**de_DE** locale: 123.456,79 $
**en_US** locale: $123,456.79

Meanwhile, in CCP v1 or PCP/RPC prices are displayed according to the localization files settings defined as stated in the Billing Localization Guide.

Cause

For currency formatting, CCP v2 uses the "Intl" library that is the namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting. Since OA version 7.0 support of Intl library has been added for a proper formatting of amounts and dates. It means that each currency symbol is displayed differently depending on the current locale the CCP is displayed in.

These values are returned by the Intl library and ISO currency codes are used for such conversions. One of the sources that can be used for reference is Intl object on the MDN Web Docs portal.

Feature Request #PFR-1119 was submitted to unify a way the currency symbols are displayed in PCP/RCP/CCP v1 and in CCP v2. This Feature Request will be reviewed by the development team to find a way of implementing this functionality in the upcoming version of the platform. Contact your Technical Account Manager or Pooled Technical Associate Team at pta@odin.com to clarify the status of #PFR-1119.

Internal content