Note that there are some explanatory texts on larger screens.

plurals
  1. POBirt internationalization doesn't work
    primarykey
    data
    text
    <p>here is what I did : I downloaded Birt Runtime 4.2. I deployed the WebViewerExample and added my report design to it. </p> <p>I created a few resource/properties files and referenced them like shown below : </p> <p><img src="https://i.stack.imgur.com/us9D6.png" alt="enter image description here"></p> <p>Then I selected the appropriate key for a graph title in the report.</p> <p>Result : in eclipse, the key is changed by the value contained in the resource file at the top of the list. In the browser, the default value of my graph title is still displayed...</p> <p>I did everything explained here <a href="http://wiki.eclipse.org/BIRT/FAQ/Internationalization" rel="nofollow noreferrer">http://wiki.eclipse.org/BIRT/FAQ/Internationalization</a>. I also tried to set the path of my properties files in the web.xml : </p> <pre><code> &lt;!-- Resource location directory. Defaults to ${birt home} --&gt; &lt;context-param&gt; &lt;param-name&gt;BIRT_RESOURCE_PATH&lt;/param-name&gt; &lt;param-value&gt;resource/&lt;/param-value&gt; &lt;/context-param&gt; </code></pre> <p>I tried different paths such as WebContent/resource, or the absolute path, none worked.</p> <p>My locale is set multiple times : in the web.xml I put </p> <pre><code>&lt;!-- Default locale setting. --&gt; &lt;context-param&gt; &lt;param-name&gt;BIRT_VIEWER_LOCALE&lt;/param-name&gt; &lt;param-value&gt;en-US&lt;/param-value&gt; &lt;/context-param&gt; </code></pre> <p>I also placed the parameter __locale=en_US in the url just in case it wouldn't work. But the title is not displayed in english, and it doesn't use any of my properties file either.</p> <p>I am losing faith now... Any idea ? </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload