Dear Magnolians
I have the following code in my freemarker template:
[#assign wrappedNode = mgnl.i18n(model.categoryNode) /]
<br />locale: ${state.locale.language}
<br />${wrappedNode.title!'no title'}
<br />${wrappedNode.title_de!'no title_de'}
And I get as output:
locale: de
no title
Deutscher Title
So:
- my node does have a value in a "title_de" attribute
- the language in the aggregation state is correctly set to "de"
- still wrappedNode.title does not give me the localized value!
This is on Magnolia 4.2.3 in a freemarker paragraph template in a mostly JSP
based website (no STK). Can anyone help me debug this?
Thanks!
-will
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------