Enabling NLS for XML messages (Enterprise)
You can provide procurement integration with NLS support when the XML/HTTP protocol is used by doing the following:
- Map the xml:lang element in the incoming XML message to the xml:lang parameter.
- Ensure the value for the parameter xml:lang id the language and country specific locale such as en_US.
- Look up the language_id for the command in 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' />
(C) Copyright IBM Corporation 1996, 2006. All Rights Reserved.