Note that there are some explanatory texts on larger screens.

plurals
  1. POTranslate not working in contentPane in Worklight
    primarykey
    data
    text
    <p>I'm creating an app and breaking the main html up into subsequent htmls as recommended in the worklight education. So the child/page is contained in a separate html snippet that is included via a contentpane. I'm using the translate function as well. The translation in the main html works but does not in the html snippet. Using the code below what I get on the worklight common view is:</p> <ul> <li>header text comes fine</li> <li>button 0 and button 1 text comes fine</li> <li>button 2 (the one in the imbedded snippet), text does not come in from the translation</li> </ul> <p>Any help would be greatly welcomed.</p> <p>snippet from main html</p> <pre><code>&lt;div data-dojo-type="dojox.mobile.ScrollableView" id="view0" data-dojo-props="selected:true"&gt; &lt;div data-dojo-type="dojox.mobile.Heading"&gt; &lt;div id="appHeader" class="translate"&gt;&lt;/div&gt; &lt;/div&gt; &lt;button data-dojo-type="dojox.mobile.Button"&gt;button0&lt;/button&gt; &lt;br&gt; &lt;button data-dojo-type="dojox.mobile.Button"&gt;&lt;div id="button1" class="translate"&gt;&lt;/div&gt;&lt;/button&gt; &lt;br&gt; &lt;div data-dojo-type="dojox.mobile.ContentPane" href="views/button2.html"&gt;&lt;/div&gt; &lt;/div&gt; </code></pre> <p>views/button2.html</p> <pre><code>&lt;button data-dojo-type="dojox.mobile.Button"&gt;&lt;div id="button2" class="translate"&gt;&lt;/div&gt;&lt;/button&gt; </code></pre> <p>messages.js</p> <pre><code>Messages = { appHeader : "Translation Test", button1 : "translated button 1", button2 : "translated button 2" }; </code></pre>
    singulars
    1. This table or related slice is empty.
    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.
 

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