Used in


Parent elements



<LOCALEAttribute Description Table

     No Child Elements
(r): Attribute or child element is required.


Determines the country and language locale information for an ArcIMS site.


Attribute Descriptions for LOCALE

countryThe country code identifies differences in conventions, such as currency symbols, between countries that use the same language. Locales for a country are specified by two-letter, uppercase codes based on the ISO-3166 standard. For example, "DE" represents Germany, and "US" represents the United States.
languageThe language for a locale is specified using a two-letter lowercase code based on the ISO-639 standard. For example, Spanish is "es", English is "en", and French is "fr".
variantThe variant handles variations in conventions within a language used in one country and consists of one or more underscored keywords. For example, a European country that wants to use the Euro currency symbol can use the variant "_EURO". If a hardware platform needs to be specified such as for Windows, the variant might be "_EURO_WIN".
Back to top 

Examples for LOCALE

Example 1: When in CONFIG.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
      <LOCALE country="DE" language="de" variant="" />
      <UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
      <SCREEN dpi="96" />
        <ENVELOPE minx="-180,0" miny="-90,0" maxx="180,0" maxy="90,0" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
        <SHAPEWORKSPACE name="shp_ws-18" directory="<path to WORLD ESRIDATA>" />
      <LAYER type="featureclass" name="CNTRY94" visible="true" id="0">
        <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-18" />
          <SIMPLEPOLYGONSYMBOL fillcolor="127,227,127" filltype="solid" />

Example 2: When in an application server RESPONSE to GETCLIENTSERVICES.
<?xml version="1.0"?>
<ARCXML version="1.1">
      <SERVICE name="europe" servicegroup="ImageServer1" access="PUBLIC" type="ImageServer" version=""  status="ENABLED" >
        <IMAGE type="JPG" />
          <LOCALE country="US" language="en" variant="" />
          <UIFONT name="Arial" />
        <CLEANUP interval="10" />

Back to top