Enabling NLS for XML messages

WebSphere Commerce provides national language support for ten languages including Traditional and Simplified Chinese, French, and other European and Asian languages. Procurement integration also provides national language support (NLS).

You can provide procurement integration with NLS support when the XML/HTTP protocol is used by doing the following:

  1. Map the xml:lang element in the incoming XML message to the xml:lang parameter.  
  2. Ensure the value for the parameter xml:lang id the language and country specific locale such as en_US.
  3. Look up the language_id  for the command in the the LANGUAGE database table for the specific locale.

Note: Although XML specification allows the xml:lang attribute to be specified in multiple elements of the same XML message, WebSphere Commerce only accepts one language per command. Only the xml:lang from one element in one message, can be mapped to the parameter xml:lang. For example, for the Ariba cXML protocol messages, the xml:lang value in the <cXML> element can be mapped as follows:

<Tag XPath='@xml:lang' Field='xml:lang' />