[
http://jira.magnolia-cms.com/browse/MGNLSTK-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25838#action_25838
]
Bozidar Ilievski commented on MGNLSTK-552:
------------------------------------------
I did some research again, and found out that i18n in the Horizontal Navigation
works only for the current page.
It does not work for the other links in the menu.
Are you sure that [http://jira.magnolia-cms.com/browse/MAGNOLIA-2931] is enough
to solve my problem?
I also saw that the patch that you propose in
[http://jira.magnolia-cms.com/browse/MGNLSTK-500] is not yet applied. Is there
no need for that one?
Thanks,
Bobi.
> I18n does not work for the Navigation
> -------------------------------------
>
> Key: MGNLSTK-552
> URL: http://jira.magnolia-cms.com/browse/MGNLSTK-552
> Project: Magnolia Standard Templating Kit
> Issue Type: Bug
> Components: base system, templates
> Affects Versions: 1.2, 1.2.1
> Reporter: Bozidar Ilievski
> Assignee: Philipp Bärfuss
> Attachments: navigation-patch.txt
>
> Original Estimate: 0.12d
> Remaining Estimate: 0.12d
>
> Hi.
> I18n does not work for the Navigation when the content for all the languages
> is in one site tree.
> For I18n Content support I have the following setting:
> Configuration->/server/i18n/content/class is set to
> {{info.magnolia.cms.i18n.DefaultI18nContentSupport}}.
> In the page properties dialog, I have two nodes for the navigation titile:
> "navigationTitle" and "navigationTitle_de".
> When I switch the language between English and German, all the content on the
> page changes, except for the navigation.
> I found that the problem is in
> {{info.magnolia.module.templatingkit.navigation.SubNavigation}}.
> The {{getItems()}} method, when creating a {{new NavigationItem}} should wrap
> the {{child}} Content element with {{I18nContentWrapper}}.
> Here is the problematic line with the fix applied:
> {code:title=SubNavigation.java}
> NavigationItem mp = new NavigationItem(new I18nContentWrapper(child), this,
> depth-1, allOpen);
> {code}
> There is also Patch included.
> Thanks,
> Bobi.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------