<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Empty translation results in sourceText using qsTranslate]]></title><description><![CDATA[<p dir="auto">I'm using qm for translation.  If a translation value is intentionally empty, qsTranslate treats it as invalid translation and returns the sourceText.</p>
<p dir="auto">For instance, if I have this in the ts file:</p>
<pre><code>&lt;message&gt;
   &lt;source&gt;note_txt.value&lt;/source&gt;
   &lt;translation&gt;&lt;/translation&gt;
&lt;/message&gt;
</code></pre>
<p dir="auto">qsTranslate(context, 'note_txt.value') returns 'note_txt.value' instead of ''.</p>
<p dir="auto">Is there a way to specify an empty translation string?</p>
]]></description><link>https://forum.qt.io/topic/94871/empty-translation-results-in-sourcetext-using-qstranslate</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 09:05:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/94871.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Sep 2018 22:38:52 GMT</pubDate><ttl>60</ttl></channel></rss>