Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The following example shows how to use the Locale Configuration Service Provider.

Note:
To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.
Copy Code
	<Atomic>
		<CmdID>1</CmdID>
   
		<Replace>
		 <CmdID>2</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_ICALENDARTYPE</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>1</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>3</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_IMEASURE</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>1</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>4</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_IFIRSTDAYOFWEEK</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>6</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>5</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_IFIRSTWEEKOFYEAR</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>0</Data>
			 </Item>
		</Replace>

		<Replace>
			 <CmdID>6</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_IPAPERSIZE</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>1</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>7</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SLONGDATE</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>dddd, MMMM dd, yyyy</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>8</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SPOSITIVESIGN</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data></Data>
			 </Item>
		</Replace>

		<Replace>
			 <CmdID>9</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SSHORTDATE</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>M/d/yy</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>10</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_STIMEFORMAT</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>h:mm:ss tt</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>11</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SYEARMONTH</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>MMMM, yyyy</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>12</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_STIME</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>:</Data>
			 </Item>
		</Replace>
	
		<Replace>
			 <CmdID>13</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_S1159</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>AM</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>14</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_S2359</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>PM</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>15</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SDATE</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>/</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>16</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SDECIMAL</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>.</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>17</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_IDIGITS</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>2</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>18</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_STHOUSAND</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>,</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>19</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_INEGNUMBER</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>1</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>20</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SGROUPING</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>3;0</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>21</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SLIST</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>,</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>22</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SNEGATIVESIGN</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>-</Data>
			 </Item>
		</Replace> 

		<Replace>
			 <CmdID>23</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_ILZERO</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>1</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>24</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SCURRENCY</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>$</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>25</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_ICURRENCY</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>0</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>26</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SMONDECIMALSEP</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>.</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>27</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_ICURRDIGITS</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>2</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>28</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SMONTHOUSANDSEP</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>,</Data>
			 </Item>
		</Replace>  
	
		<Replace>
			 <CmdID>29</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_INEGCURR</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>0</Data>
			 </Item>
		</Replace> 
	
		<Replace>
			 <CmdID>30</CmdID>
			 <Item>
			 
<Target><LocURI>./Vendor/MSFT/Locale/LOCALE_SMONGROUPING</LocURI></Target>
				<Meta>
				 <Format
xmlns="syncml:metinf">chr</Format>
				 <Type
xmlns="syncml:metinf">text/plain</Type>
				</Meta>
				<Data>3;0</Data>
			 </Item>
		</Replace> 

	</Atomic>

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.