IBM Support

Setting the currency suffix

Technote (FAQ)


After following the Information Center instructions to add currency formatting options to the CURFMTDESC table, the currency is still not displayed as expected. What else needs to be configured?


Currency formatting is based on the locale, not the CURFMTDESC table.


The prices displayed in the storefront come from:


In the following example, this snippet is added to the top of the JSPF file to detect the Spanish language setting and force the locale to en_US to make the currency symbol display correctly:

<!-- Locale setting -->
<%@ page import="" %>
<c:set var="langId" value="${CommandContext.languageId}" scope="page" />
<c:if test="${langId == -5}">
<fmt:setLocale value="en_US"/>

You also must ensure that the languageId is passed in the URL when you select the language:


Document information

More support for: WebSphere Commerce Enterprise
Contracts / Pricing / Offer

Software version: 6.0, 7.0

Operating system(s): AIX, IBM i, Linux, Solaris, Windows

Reference #: 1615738

Modified date: 30 March 2013

Translate this page: