<?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[Translation from .po file not applying]]></title><description><![CDATA[<p dir="auto">Hey fellow translators,</p>
<p dir="auto">for some reason I can't get any translation to work for my app: <a href="https://gitlab.com/lkroll/nostrut" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/lkroll/nostrut</a>.</p>
<p dir="auto">Someone contributed a Dutch translation via a .po file but it is not applied in the app.<br />
I also tried adding a German translation myself and the same thing happens.</p>
<p dir="auto">When I try launching the app with clickable in another language it is still in English:</p>
<pre><code>clickable desktop --lang nl_NL
</code></pre>
<p dir="auto">From what I can tell the .mo files are being installed in the correct place:</p>
<pre><code>-- Installing: /home/lennart/Git/GitLab/nostrut/build/x86_64-linux-gnu/app/install/share/locale/de_DE/LC_MESSAGES/nostrut.lkroll.mo
-- Installing: /home/lennart/Git/GitLab/nostrut/build/x86_64-linux-gnu/app/install/share/locale/nl/LC_MESSAGES/nostrut.lkroll.mo
</code></pre>
<p dir="auto">Maybe there is an error on my end and the translation works, but the weird thing is for my other app (<a href="https://gitlab.com/lkroll/lighthouse-control" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/lkroll/lighthouse-control</a>) I do not have this problem and my German translation works as expected.</p>
<p dir="auto">Can someone enlighten me here?</p>
]]></description><link>https://forums.ubports.com/topic/10139/translation-from-po-file-not-applying</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 04:35:54 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/10139.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 May 2024 19:14:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Translation from .po file not applying on Fri, 05 Jul 2024 22:02:14 GMT]]></title><description><![CDATA[<p dir="auto">After asking in the telegram app dev group I found out that the error was caused by not specifying the property applicationName inside of the MainView. Because of that the gettext domain was set to an empty string, which prevented the translations from getting loaded.</p>
]]></description><link>https://forums.ubports.com/post/80863</link><guid isPermaLink="true">https://forums.ubports.com/post/80863</guid><dc:creator><![CDATA[lkroll]]></dc:creator><pubDate>Fri, 05 Jul 2024 22:02:14 GMT</pubDate></item></channel></rss>