<?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[LangSwitch in Category level Tools]]></title><description><![CDATA[<p dir="auto">Hi again,<br />
the wiki seems to have problems on adding the langswitch to categories:</p>
<p dir="auto">One Example is the: Category:Tools::QtCreator (/de,/....)</p>
<p dir="auto">I did run some test with different ideas to change the langSwitch Label, but the basic problem seems to be within the Category itself. The wiki magic words seem to be broken then. {{BASEPAGE}} actually should return the page without the language identifier (without subpage), but seems to be broken on categories:<br />
Namespace: Category<br />
pagename: Tools::QtCreator/de<br />
Basepage: Tools::QtCreator/de<br />
Rootpage: Tools::QtCreator/de<br />
SubPAge: Tools::QtCreator/de<br />
ARTICLEPAGENAME: Category:Tools::QtCreator/de<br />
SUBJECTPAGENAME: Category:Tools::QtCreator/de<br />
ARTICLESPACE: Category<br />
SUBJECTSPACE: Category<br />
Fullpagename: Category:Tools::QtCreator/de</p>
<p dir="auto">I even did run some tests with<br />
{{#titleparts: {{FULLPAGENAME}} | -1 }}<br />
which works fine as long one does not use this on the non-translated page, which would result in an empty string</p>
<p dir="auto">I also did try using regex only to find the regex parser is not installed<br />
REGEX: {{#regex: {{FULLPAGENAME}} |%^(.<em>)(/.</em>)$%|$1)}}</p>
<p dir="auto">Same goes for the RPOS function included in the string extension<br />
RPOS: {{#rpos:{{FULLPAGENAME}}|/}}</p>
<p dir="auto">As far as i can tell now, there would be no easy/not-complex way to solve this.</p>
<p dir="auto">So i decided to just keep the pages as they are.</p>
<p dir="auto"><strong>Proposal</strong><br />
Install the regex extension or get the magic words to work with categories or simply remove translated categorypages</p>
]]></description><link>https://forum.qt.io/topic/56240/langswitch-in-category-level-tools</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 14:27:14 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/56240.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jul 2015 07:00:08 GMT</pubDate><ttl>60</ttl></channel></rss>