<LOCALE | Attribute Description Table |
(r)language="string" country="string" variant="string" > No Child Elements </LOCALE > | |
(r): Attribute or child element is required. |
Attribute | Usage |
---|---|
country | The 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. |
language | The 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". |
variant | The 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". |
<?xml version="1.0" encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="DE" language="de" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <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"/> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-18" directory="<path to WORLD ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="CNTRY94" visible="true" id="0"> <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-18" /> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL fillcolor="127,227,127" filltype="solid" /> </SIMPLERENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
<?xml version="1.0"?> <ARCXML version="1.1"> <RESPONSE> <SERVICES> <SERVICE name="europe" servicegroup="ImageServer1" access="PUBLIC" type="ImageServer" version="" status="ENABLED" > <IMAGE type="JPG" /> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT name="Arial" /> </ENVIRONMENT> <CLEANUP interval="10" /> </SERVICE> </SERVICES> </RESPONSE> </ARCXML> |