[ 
http://jira.magnolia-cms.com/browse/MGNLSTK-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Federico Grilli reassigned MGNLSTK-552:
---------------------------------------

    Assignee: Federico Grilli  (was: Philipp Bärfuss)

> 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: Federico Grilli
>         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]>
----------------------------------------------------------------

Reply via email to