My Oracle Support Banner

Currency Symbol In iStore Shopping Cart Not Displaying Correctly Due To The Incorrect Locale Value (Doc ID 2396890.1)

Last updated on DECEMBER 03, 2019

Applies to:

Oracle iStore - Version 12.1.3 and later
Information in this document applies to any platform.


In an EBS R12.1.3 instance, the locale is not getting set correctly. If we use the below code to display the locale somewhere on a JSP page:

String locale = Locale.getDefault().toString();

It returns "en". But earlier, it was returning "en_US". Because of this, the java NumberFormat does not display the currency symbol correctly in iStore shopping Cart.

Shopping cart should display the currency symbol correctly.

The issue can be reproduced at will with the following steps:
1. Use the code anywhere in the JSP => String locale = Locale.getDefault().toString();
2. Customer seeing a different locale value between TEST and PRODUCTION instances :-

    -> TEST instance display the locale value as "en", where as PRODUCTION displays a value "en_US"
    -> TEST instance where the locale value is "en" instead of "en_US", currency symbol in the iStore shopping cart is not displaying correctly.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.