<p>Hi</p>
<p> </p>
<p>I created a new project, myapp, wich contain the following "translations" files</p>
<p>harbour-myapp-de.ts<br /><?xml version="1.0" encoding="utf-8"?><br /><!DOCTYPE TS><br /><TS version="2.1"><br /><context><br />    <name>About</name><br />    <message><br />        <source>About</source><br />        <translation type="unfinished"></translation><br />    </message><br />    <message></p>
<p> </p>
<p>harbour-myapp.ts<br /><?xml version="1.0" encoding="utf-8"?><br /><!DOCTYPE TS><br /><TS version="2.1"><br /><context><br />    <name>About</name><br />    <message><br />        <source>About</source><br />        <translation type="unfinished"></translation><br />    </message><br />    <message></p>
<p>About.qml pages looks like this</p>
<p>Page {<br />......<br />......</p>
<p>              title: qsTr("About")<br />           }</p>
<p> </p>
<p>When I compile the project Qt have only "built" the de file, in ../build-harbour-myApp-MerSDK_SailfishOS_i486-Debug/translations/</p>
<p>harbour-lapis-de.qm  <br />harbour-lapis-de.ts</p>
<p>Should it not have built the other one as well, that is harbour-myapp.ts ?</p>
<p> </p>
<p>If I change the file harbour-myapp.ts (which i assume is the default one) into</p>
<p>harbour-myapp.ts<br /><?xml version="1.0" encoding="utf-8"?><br /><!DOCTYPE TS><br /><TS version="2.1"><br /><context><br />    <name>About</name><br />    <message><br />        <source>About</source><br />        <translation>HELLO THERE</translation><br />    </message><br />    <message></p>
<p>Nothing happens on the screen, title: qsTr("About"), still writes "About" and not "HELLO THERE" as expected.</p>
<p>According to Qt homepage there are some tools, lupdate and lrelease mention but they are not installed in the Qt distribution<br />and entering those at the command prompt gives error message.<br />However lupdate/lrelease seems to be used for backward engineering text, lupdate extracts from the source code texts <br />and create the .ts files, which is only useful when trying to internationalise an finished application.</p>
<p>Is not qsTr using it's argument to look up in the .ts (.qm) files what text it should use in runtime?</p>
<p> </p>
<p>/Stefan</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>