Most likely scenario is that the title was created when default land for your 
site was english. Later you changed config so the default lang is german. 
Values for default lang are always taken from the node w/o suffix.
HTH,
Jan

Will Scheidegger <[email protected]> wrote:

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]>
----------------------------------------------------------------




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to