HCL Commerce Enterprise

Enabling NLS for XML messages

You can provide procurement integration with NLS support when the XML/HTTP protocol is used.

Procedure

  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 is the language and country specific locale such as en_US.
  3. 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, HCL 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.