<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>GETLOCALEDISPLAYNAME</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">GETLOCALEDISPLAYNAME</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span>
<p>
P[l擾Aꂼ̃P[ɓK@ł̖O\܂BftHgł́Ã݂P[̃P[̌Ŏ擾܂B
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">߂l</span>
<p>
w肳ꂽP[̌ŕ\LꂽP[̕\
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">JeS</span>
<p>
\я֐AeΉ֐AVXe֐
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֐̃V^bNX</span><pre>GetLocaleDisplayName([locale[, inLocale]])
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֘A</span>
<p>
GetLocaleASetLocale
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">qXg</span>
<p>
ColdFusion&#160;MX&#160;7: ̊֐ǉ܂B
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">p[^</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span>
<p>
̗ł́AGetLocale ̗WJAGetLocaleDisplayName ֐gpČ݂̃P[܂͂̑̃P[ŃP[\@Ă܂BT|[g邷ׂẴP[烍P[I邱Ƃ\łBColdFusion MX P[͑IꂽP[ɕύXAṼP[\܂B
</p>
<pre>&lt;html&gt;
&lt;head&gt;
   &lt;title&gt;P[̕\&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;h3&gt; : P[̕ύXƕ\&lt;/h3&gt;
&lt;cfoutput&gt;
   &lt;!--- VKNGXgƂɁAP[ JVM P[ɃZbg ---&gt;
   P[ ColdFusion  : #GetLocale()#&lt;br&gt;
   P[̕\ : #GetLocaleDisplayName()#&lt;br&gt;
   &lt;br&gt;
   &lt;!--- ̓tH[Mꂽꍇɂ̂ݎs܂B ---&gt;
   &lt;cfif IsDefined(&quot;form.mylocale&quot;)&gt;
      &lt;b&gt;P[ #form.mylocale# ɕύX&lt;/b&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;!--- P[𑗐Mꂽlɐݒ肵܂B
         SetLocale ́AȑO ColdFusion P[Ԃ܂B  ---&gt;
      &lt;cfset oldlocale=SetLocale(&quot;#form.mylocale#&quot;)&gt;
      &lt;!--- ݂̃P[ ColdFusion 擾܂B
         P[ύXĂ͂łB ---&gt;
      &lt;cfset newlocale=GetLocale()&gt;
      VP[ ColdFusion  : #newlocale#&lt;br&gt;
      ݂̃P[ŕ\LꂽVP[̕\ : #GetLocaleDisplayName()#&lt;br&gt;
      ȑÕP[ŕ\LꂽVP[̕\ :   
         #GetLocaleDisplayName(newlocale, oldlocale)#&lt;br&gt;
      en_US ŕ\LꂽVP[̕\ :   
         #GetLocaleDisplayName(newlocale, &quot;en_US&quot;)#&lt;br&gt;
      &lt;br&gt;
      ݂̃P[ŕ\LꂽȑÕP[̕\ : 
         #GetLocaleDisplayName(oldlocale)#&lt;br&gt;
      en_US ŕ\LꂽȑÕP[̕\ :   
         #GetLocaleDisplayName(oldlocale, &quot;en_US&quot;)#&lt;br&gt;
   &lt;/cfif&gt;

   &lt;!--- MtH[ŐVP[I܂B ---&gt;
   &lt;cfform&gt;
      &lt;h3&gt;VP[IĂ :&lt;/h3&gt;
      &lt;cfselect name=&quot;mylocale&quot;&gt;
         &lt;!--- ϐ server.coldfusion.supportedlocales 
               T|[g邷ׂẴP[̃XgłBXg cfloop ^OgpāA
               Xĝꂼ̖O HTML IvV^O쐬܂B ---&gt;
         &lt;cfloop index=&quot;i&quot; list=&quot;#server.coldfusion.supportedlocales#&quot;&gt;
         &lt;!--- I{bNXł́Ačpɂ郍P[̕\
               gp܂Ben_US Cӂ̃P[ɕύXł܂B ---&gt;
            &lt;option value=&quot;#i#&quot;&gt;#GetLocaleDisplayName(i, &quot;en_US&quot;)#&lt;/option&gt;
         &lt;/cfloop&gt;
      &lt;/cfselect&gt;&lt;br&gt;
      &lt;br&gt;
      &lt;cfinput type=&quot;submit&quot; name=&quot;submitit&quot; value=&quot;Change Locale&quot;&gt;
   &lt;/cfform&gt;
&lt;/cfoutput&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="LOCALE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">LOCALE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>KvȖO\L郍P[łBftHgĺA݂ ColdFusion ̃P[łB
ColdFusion ̃P[ݒ肳ĂȂꍇ́AJVM ̃P[łB


  </td>
  </tr>
  </table>
</div>
<div id="INLOCALE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">INLOCALE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>OԂۂɎg郍P[łBftHgĺA݂ ColdFusion ̃P[łB
ColdFusion ̃P[ݒ肳ĂȂꍇ́AJVM ̃P[łB


  </td>
  </tr>
  </table>
</div>

  </body>
</html>
