<?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[Possible mistake in the translation example?]]></title><description><![CDATA[<p dir="auto">Hi, I was looking at this example:</p>
<p dir="auto"><a href="https://doc.qt.io/qtforpython-6.8/tutorials/basictutorial/translations.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qtforpython-6.8/tutorials/basictutorial/translations.html</a></p>
<p dir="auto">It didn't work for me. It always showed English. But after a little research I found this other example:</p>
<p dir="auto"><a href="https://github.com/fernicar/PySide6_Examples_Doc_2025_v6.9.1/blob/6.9.1/examples/widgets/linguist/README.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/fernicar/PySide6_Examples_Doc_2025_v6.9.1/blob/6.9.1/examples/widgets/linguist/README.md</a></p>
<p dir="auto">And basically I just needed to change</p>
<p dir="auto">LANG=de python <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a></p>
<p dir="auto">to</p>
<p dir="auto">LANG=de_DE.UTF-8 python <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a></p>
<p dir="auto">Is this a mistake or is pyside behaving unexpectedly? I'm specifically using pyside 6.9.3 on macOS 15 with Python 3.11</p>
<p dir="auto">To be clear, changing it fixed the problem.</p>
<p dir="auto">edit:</p>
<p dir="auto">Also just tried Python 3.14 with Pyside 6.11.2, same problem. Just changing the LANG fixes it.</p>
]]></description><link>https://forum.qt.io/topic/165080/possible-mistake-in-the-translation-example</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 09:41:11 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/165080.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Sep 2026 22:31:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Possible mistake in the translation example? on Wed, 23 Sep 2026 03:46:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/axu2">@<bdi>axu2</bdi></a> said in <a href="/post/840228">Possible mistake in the translation example?</a>:</p>
<blockquote>
<p dir="auto">The website still isn't updated?</p>
</blockquote>
<p dir="auto">The website shows the official documentation of the current release. It will update with the next release.</p>
]]></description><link>https://forum.qt.io/post/840229</link><guid isPermaLink="true">https://forum.qt.io/post/840229</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Wed, 23 Sep 2026 03:46:56 GMT</pubDate></item><item><title><![CDATA[Reply to Possible mistake in the translation example? on Wed, 23 Sep 2026 03:42:18 GMT]]></title><description><![CDATA[<p dir="auto">The website still isn't updated?</p>
]]></description><link>https://forum.qt.io/post/840228</link><guid isPermaLink="true">https://forum.qt.io/post/840228</guid><dc:creator><![CDATA[axu2]]></dc:creator><pubDate>Wed, 23 Sep 2026 03:42:18 GMT</pubDate></item><item><title><![CDATA[Reply to Possible mistake in the translation example? on Wed, 16 Sep 2026 18:40:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/friedemannkleint">@<bdi>friedemannkleint</bdi></a> said in <a href="/post/840162">Possible mistake in the translation example?</a>:</p>
<blockquote>
<p dir="auto"><a href="https://codereview.qt-project.org/c/pyside/pyside-setup/+/770427" target="_blank" rel="noopener noreferrer nofollow ugc">https://codereview.qt-project.org/c/pyside/pyside-setup/+/770427</a> ?</p>
</blockquote>
<p dir="auto">Nice ! Thanks</p>
]]></description><link>https://forum.qt.io/post/840170</link><guid isPermaLink="true">https://forum.qt.io/post/840170</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 16 Sep 2026 18:40:31 GMT</pubDate></item><item><title><![CDATA[Reply to Possible mistake in the translation example? on Wed, 16 Sep 2026 06:31:25 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://codereview.qt-project.org/c/pyside/pyside-setup/+/770427" target="_blank" rel="noopener noreferrer nofollow ugc">https://codereview.qt-project.org/c/pyside/pyside-setup/+/770427</a> ?</p>
]]></description><link>https://forum.qt.io/post/840162</link><guid isPermaLink="true">https://forum.qt.io/post/840162</guid><dc:creator><![CDATA[friedemannkleint]]></dc:creator><pubDate>Wed, 16 Sep 2026 06:31:25 GMT</pubDate></item><item><title><![CDATA[Reply to Possible mistake in the translation example? on Tue, 15 Sep 2026 18:39:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/friedemannkleint">@<bdi>friedemannkleint</bdi></a> Anything more than updating the <code>LANG</code> part ? If not I have the change ready to be submitted. Otherwise I am happy to improve on it.</p>
]]></description><link>https://forum.qt.io/post/840156</link><guid isPermaLink="true">https://forum.qt.io/post/840156</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 15 Sep 2026 18:39:28 GMT</pubDate></item><item><title><![CDATA[Reply to Possible mistake in the translation example? on Mon, 14 Sep 2026 08:54:48 GMT]]></title><description><![CDATA[<p dir="auto">It probably depends on the OS; LANG=de works on Kubuntu Linux.  But giving the encoding might be better. LC_ALL can also be used...</p>
<p dir="auto">We will change the tutorial accordingly.</p>
]]></description><link>https://forum.qt.io/post/840142</link><guid isPermaLink="true">https://forum.qt.io/post/840142</guid><dc:creator><![CDATA[friedemannkleint]]></dc:creator><pubDate>Mon, 14 Sep 2026 08:54:48 GMT</pubDate></item></channel></rss>