(file) Return to Globalization_HOWTO.htm CVS log (file) (dir) Up to [Pegasus] / pegasus / doc

Diff for /pegasus/doc/Globalization_HOWTO.htm between version 1.9 and 1.10

version 1.9, 2007/01/24 21:24:43 version 1.10, 2008/05/06 21:05:22
Line 485 
Line 485 
 details.&nbsp;</td> details.&nbsp;</td>
     </tr>     </tr>
     <tr>     <tr>
       <td>Boolean useICUfallback</td>  
       <td>Input <br>  
 Optional <br>  
 Default = false</td>  
       <td>If true, use ICU's fallback mechnism to search more general  
 resource bundles if the msg_id cannot be found.&nbsp; Note: the  
 recommended setting is false if you are using an AcceptLanguageList from a  
 CIM client.&nbsp; The Accept-Languages HTTP header from the client  
 contains the fallback specifications. &nbsp;Using ICU's fallback in this  
 case may lead to returning a language that the client didn't ask for.</td>  
     </tr>  
     <tr>  
       <td>Formatter::Arg arg0; <br>       <td>Formatter::Arg arg0; <br>
 &nbsp;Formatter::Arg arg1; <br> &nbsp;Formatter::Arg arg1; <br>
 &nbsp;Formatter::Arg arg2; <br> &nbsp;Formatter::Arg arg2; <br>
Line 552 
Line 540 
 MessageLoaderParms that it gets.&nbsp; The MessageLoader will use the MessageLoaderParms that it gets.&nbsp; The MessageLoader will use the
 default process locale, as determined by ICU, in this case. <br> default process locale, as determined by ICU, in this case. <br>
 &nbsp; </p> &nbsp; </p>
 <p><i>Important Note:</i>&nbsp; The MessageLoader defaults to <i>not </i>use  <p><i>Important Note:</i>&nbsp; The MessageLoader does <i>not</i> use
 the "fallback" mechanism described in the ICU Resource Management the "fallback" mechanism described in the ICU Resource Management
 section.&nbsp; This is because the Accept-Language header itself section.&nbsp; This is because the Accept-Language header itself
 describes the fallback that the client wants.&nbsp; However, the  describes the fallback that the client wants.&nbsp; If the
 MessageLoader does "fallback" to the root resource bundle if none of the  MessageLoader cannot find a message file for any of the languages
 languages in AcceptLanguageList can be found.&nbsp; If the root resource  in the AcceptLanguageList, it will try the default process locale.
 bundle cannot be found, then the default_msg is returned.&nbsp; The  If this fails, the ICU root resource bundle will be tried.<br>
 "useICUFallback" flag can be set to have MessageLoader use ICU fallback  
 on all message load attempts.&nbsp; However, usage of this flag for  
 client requests may lead to incorrect results.&nbsp; For example, a  
 client sets Accept-Language to french, german, and spanish, in that  
 order, but there is no french resource bundle.&nbsp; A call to  
 MessageLoader with useICUfallback == true would cause the root resource  
 bundle string to be returned on the attempt to load from the french  
 bundle.&nbsp; But the client requested german to be the fallback after  
 french. <br>  
 &nbsp; </p> &nbsp; </p>
 <p>Please refer to the following files for details on the new Pegasus <p>Please refer to the following files for details on the new Pegasus
 classes. <br> classes. <br>


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2