I am working on the norwegian translations for mythfrontend.<br><br>When I update the translations using lupdate <a href="http://translate.pro">translate.pro</a> all occurences of the &lt;location tags&gt; are deleted from the ts file, as described below:<br>
<br>When I update to the latest svn, the mythfrontend_nb.ts contains (first 20 lines):<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;!DOCTYPE TS&gt;<br>&lt;TS version=&quot;2.0&quot; language=&quot;nb_NO&quot;&gt;<br>
&lt;context&gt;<br>    &lt;name&gt;&lt;/name&gt;<br>    &lt;message&gt;<br>        &lt;location filename=&quot;../libs/libmythtv/jobqueue.h&quot; line=&quot;20&quot;/&gt;<br>        &lt;source&gt;Unknown&lt;/source&gt;<br>
        &lt;translation&gt;Ukjent&lt;/translation&gt;<br>    &lt;/message&gt;<br>    &lt;message&gt;<br>        &lt;location filename=&quot;../libs/libmythtv/jobqueue.h&quot; line=&quot;21&quot;/&gt;<br>        &lt;source&gt;Queued&lt;/source&gt;<br>
        &lt;translation&gt;Lagt i kø&lt;/translation&gt;<br>    &lt;/message&gt;<br>    &lt;message&gt;<br>        &lt;location filename=&quot;../libs/libmythtv/jobqueue.h&quot; line=&quot;22&quot;/&gt;<br>        &lt;source&gt;Pending&lt;/source&gt;<br>
        &lt;translation&gt;Venter&lt;/translation&gt;<br>    &lt;/message&gt;<br><br>After executing lupdate <a href="http://translate.pro">translate.pro</a>, the following happens to the mythfrontend_nb.ts file (first 20 lines):<br>
<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;!DOCTYPE TS&gt;<br>&lt;TS version=&quot;2.0&quot; language=&quot;nb_NO&quot;&gt;<br>&lt;context&gt;<br>    &lt;name&gt;&lt;/name&gt;<br>    &lt;message&gt;<br>
        &lt;source&gt;Unknown&lt;/source&gt;<br>        &lt;translation&gt;Ukjent&lt;/translation&gt;<br>    &lt;/message&gt;<br>    &lt;message&gt;<br>        &lt;source&gt;Queued&lt;/source&gt;<br>        &lt;translation&gt;Lagt i kø&lt;/translation&gt;<br>
    &lt;/message&gt;<br>    &lt;message&gt;<br>        &lt;source&gt;Pending&lt;/source&gt;<br>        &lt;translation&gt;Venter&lt;/translation&gt;<br>    &lt;/message&gt;<br>    &lt;message&gt;<br>        &lt;source&gt;Starting&lt;/source&gt;<br>
        &lt;translation&gt;Starter&lt;/translation&gt;<br><br>I.e all &lt;location&gt; xml tags disappear in the ts file.<br>To my limited understanding this tag provides a reference to the source in linguist which is very useful during translation.<br>
<br>I check another ts file (mythfrontend_da.ts) before and after the lupdate, and the &lt;location&gt; tags for this file is not affected by the lupdate command.<br><br>I am using svn Revision: 23520. The &quot;lupdate effect&quot; happens also in a new svn directory created with svn co...<br>
<br>Because of this my current updated norwegian_nb.ts.diff will remove the &lt;location&gt; reference for all updated strings which I suppose is not good.<br><br>How can I fix this ?<br><br>Best Regards,<br><br>Rune Evjen<br>
<br><br><br>