<?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[Is it an `admin.adapter` issue, or an error in my code?]]></title><description><![CDATA[<p dir="auto">I am currently writing my first adapter for ioBroker and have run into a problem I cannot seem to solve. It concerns displaying a message that is i18n-compliant (consistent with everything else in the adapter). The attached image illustrates the issue: when the "TEST CONNECTION" button is pressed, the adapter performs the task and confirms it with a message in the bottom-left corner. The problem is that the message ID is displayed instead of the actual translated text associated with it.<br />
<img src="/assets/uploads/files/1795727855804-problem1.png" alt="problem1.png" class="img-markdown  img-fluid" width="1007" height="498" /><br />
In the browser console (F12 key), I can see that the translated text appears.<br />
<img src="/assets/uploads/files/1795727943790-problem2.png" alt="problem2.png" class="img-markdown  img-fluid" width="468" height="278" /></p>
<p dir="auto">Invoking a window within the onMessage(obj) method looks like this (file main.js):</p>
<pre><code>// Send response in callback if required
if (obj.callback) {
  this.sendTo(obj.from, obj.command, { result: 'tab_db_connected' }, obj.callback);
</code></pre>
<p dir="auto">The definition in the jsonConfig.json file looks like this:</p>
<pre><code>"_dbTestDB": {
   "type": "sendTo",

   "result": {
        "tab_db_connected" : "tab_db_test_connected"
  },
					},
</code></pre>
<p dir="auto">And the key for translation (pl.json):</p>
<pre><code>  {
      "tab_db_test_connected" : "Połączenie udane!",
  }
</code></pre>
<p dir="auto">What am I doing wrong that the text isn't displaying?</p>
]]></description><link>https://forum.iobroker.net/topic/85942/is-it-an-admin.adapter-issue-or-an-error-in-my-code</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 00:31:27 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/85942.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Nov 2026 21:27:58 GMT</pubDate><ttl>60</ttl></channel></rss>