title: iReport: localized default values for parameters
body: <p>How to use localized default values for parameters in <em>iReport</em>? </p>
  
  <p>Using a <strong><em>$R{message.key}</em></strong> as the parameter default value has negative consequences in the "Read fields" functionality of <em>iReport</em>'s SQL editor. More precisely, the following error is shown (after pressing the <strong>Read fields</strong> button in <strong>Report query</strong> dialog): </p>
  
  <p><code>Sourced file: inline evaluation of: ``$R{message.key}'' : Attempt to access property on undefined variable or class name</code></p>
  
  <p>Any way around this <em>iReport</em> problem?</p>
  
  <p>Here is the image to illustrate the problem:</p>
  
  <p><img src="https://i.stack.imgur.com/yrhAW.png" alt="enter image description here"></p>