<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 07:28:08 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MGNLSTK-552] I18n does not work for the Navigation</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLSTK-552</link>
                <project id="10287" key="MGNLSTK">Magnolia Standard Templating Kit (closed)</project>
                    <description>&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;I18n does not work for the Navigation when the content for all the languages is in one site tree.&lt;/p&gt;

&lt;p&gt;For I18n Content support I have the following setting:&lt;br/&gt;
Configuration-&amp;gt;/server/i18n/content/class is set to &lt;tt&gt;info.magnolia.cms.i18n.DefaultI18nContentSupport&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;In the page properties dialog, I have two nodes for the navigation titile: &quot;navigationTitle&quot; and &quot;navigationTitle_de&quot;.&lt;br/&gt;
When I switch the language between English and German, all the content on the page changes, except for the navigation.&lt;/p&gt;

&lt;p&gt;I found that the problem is in &lt;tt&gt;info.magnolia.module.templatingkit.navigation.SubNavigation&lt;/tt&gt;.&lt;br/&gt;
The &lt;tt&gt;getItems()&lt;/tt&gt; method, when creating a &lt;tt&gt;new NavigationItem&lt;/tt&gt; should wrap the &lt;tt&gt;child&lt;/tt&gt; Content element with &lt;tt&gt;I18nContentWrapper&lt;/tt&gt;.&lt;br/&gt;
Here is the problematic line with the fix applied:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;SubNavigation.java&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;NavigationItem mp = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; NavigationItem(&lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; I18nContentWrapper(child), &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;, depth-1, allOpen);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There is also Patch included.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Bobi.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17582">MGNLSTK-552</key>
            <summary>I18n does not work for the Navigation</summary>
                <type id="1" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10883&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="fgrilli">Federico Grilli</assignee>
                                    <reporter username="bobi4597">Bozidar Ilievski</reporter>
                        <labels>
                            <label>i18n</label>
                            <label>navigation</label>
                    </labels>
                <created>Thu, 24 Dec 2009 14:11:57 +0100</created>
                <updated>Wed, 23 Jan 2013 08:53:23 +0100</updated>
                            <resolved>Wed, 27 Jan 2010 15:52:34 +0100</resolved>
                                    <version>1.2</version>
                    <version>1.2.1</version>
                                    <fixVersion>1.2.2</fixVersion>
                                    <component>base system</component>
                    <component>templates</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>2</watches>
                                    <workratio workratioPercent="0"/>
                                    <progress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                    <timeoriginalestimate seconds="3600">1h</timeoriginalestimate>
                            <timeestimate seconds="3600">1h</timeestimate>
                                        <comments>
                            <comment id="25693" author="pbaerfuss" created="Mon, 4 Jan 2010 12:06:34 +0100"  >&lt;p&gt;This should have been solved by &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MAGNOLIA-2931&quot; title=&quot;templating: the renderer should not only wrap the content for the template but for the model too&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MAGNOLIA-2931&quot;&gt;&lt;del&gt;MAGNOLIA-2931&lt;/del&gt;&lt;/a&gt;. Do you run on Magnolia 4.2?&lt;/p&gt;</comment>
                            <comment id="25829" author="bobi4597" created="Tue, 12 Jan 2010 14:36:01 +0100"  >&lt;p&gt;Yes, we run on Magnolia 4.2.1.&lt;/p&gt;</comment>
                            <comment id="25838" author="bobi4597" created="Tue, 12 Jan 2010 17:17:11 +0100"  >&lt;p&gt;I did some research again, and found out that i18n in the Horizontal Navigation works only for the current page.&lt;br/&gt;
It does not work for the other links in the menu.&lt;/p&gt;

&lt;p&gt;Are you sure that &lt;a href=&quot;http://jira.magnolia-cms.com/browse/MAGNOLIA-2931&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://jira.magnolia-cms.com/browse/MAGNOLIA-2931&lt;/a&gt; is enough to solve my problem?&lt;br/&gt;
I also saw that the patch that you propose in &lt;a href=&quot;http://jira.magnolia-cms.com/browse/MGNLSTK-500&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://jira.magnolia-cms.com/browse/MGNLSTK-500&lt;/a&gt; is not yet applied. Is there no need for that one?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Bobi.&lt;/p&gt;</comment>
                            <comment id="25909" author="pbaerfuss" created="Fri, 15 Jan 2010 14:49:10 +0100"  >&lt;p&gt;The fix for &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MAGNOLIA-2931&quot; title=&quot;templating: the renderer should not only wrap the content for the template but for the model too&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MAGNOLIA-2931&quot;&gt;&lt;del&gt;MAGNOLIA-2931&lt;/del&gt;&lt;/a&gt; has actual only partially fixed the problem due to the fact the the wrapper does not wrap returned children (&lt;a href=&quot;https://jira.magnolia-cms.com/browse/MAGNOLIA-3010&quot; title=&quot;content wrapper: should wrap returned children&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MAGNOLIA-3010&quot;&gt;&lt;del&gt;MAGNOLIA-3010&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;The original patch provided for &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLSTK-500&quot; title=&quot;The horizontal menu cannot be localized due to a hardcoded String in LinkImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLSTK-500&quot;&gt;&lt;del&gt;MGNLSTK-500&lt;/del&gt;&lt;/a&gt; should not be used as it makes the navigation aware of the i18n content support. Actually the same thing is true for the proposed fix in this issue. &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MAGNOLIA-3010&quot; title=&quot;content wrapper: should wrap returned children&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MAGNOLIA-3010&quot;&gt;&lt;del&gt;MAGNOLIA-3010&lt;/del&gt;&lt;/a&gt; will fix it.&lt;/p&gt;</comment>
                            <comment id="26211" author="fgrilli" created="Wed, 27 Jan 2010 15:52:34 +0100"  >&lt;p&gt;applied and verified patch against core 4.2&lt;/p&gt;</comment>
                            <comment id="26219" author="gjoseph" created="Wed, 27 Jan 2010 18:46:33 +0100"  >&lt;p&gt;So this is now fixed in standard-templating-kit-1.2.2 (against Magnolia 4.2.3). This bug is not impacting standard-templating-kit-1.3+ (with Magnolia 4.3+), thanks to &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MAGNOLIA-3010&quot; title=&quot;content wrapper: should wrap returned children&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MAGNOLIA-3010&quot;&gt;&lt;del&gt;MAGNOLIA-3010&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>dependency</name>
                                            <outwardlinks description="depends upon">
                                        <issuelink>
            <issuekey id="17684">MAGNOLIA-3010</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>relation</name>
                                            <outwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="17313">MAGNOLIA-2931</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10022">
                    <name>supersession</name>
                                            <outwardlinks description="supersedes">
                                        <issuelink>
            <issuekey id="17307">MGNLSTK-500</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12897" name="navigation-patch.txt" size="1071" author="bobi4597" created="Thu, 24 Dec 2009 14:11:57 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>netcetera.com.mk</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 4 Jan 2010 12:06:34 +0100</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            14 years, 4 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bobi4597</customfieldvalue>
            <customfieldvalue>fgrilli</customfieldvalue>
            <customfieldvalue>gjoseph</customfieldvalue>
            <customfieldvalue>pbaerfuss</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Patch included</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10100"><![CDATA[Yes]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0447j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>24124</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>