Localization Element

System.Web.Services.Protocols.SoapHeader
  Localization
Client Declaration
  public class Localization
Represents locale information for metadata and text strings.

Element Structure

Elements
  • String Locale: Optional element specifying an RFC 3066 locale identifier (for example, "en-US") for the Content Engine server to select. The server selects an effective locale from those available that best matches the requested locale.
  • String Timezone: Optional element specifying the client-locale time zone as an offset from UTC time in the form +-hh:mm. Currently, this attribute is not used by the server.

XML Schema

<xsd:element name="Localization">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element name="Locale" type="xsd:string"/>
         <xsd:element name="Timezone" type="xsd:string" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
</xsd:element>