[MGNLSTK-421] i18n and ${...} / cms:out Created: 29/Jun/09  Updated: 23/Jan/13  Resolved: 04/Aug/09

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: base system
Affects Version/s: 1.1.1
Fix Version/s: 1.1.2

Type: Bug Priority: Critical
Reporter: Igor Klimer Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: freemarker
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 4.1 CE
Default settings for i18n (with i18n set to enabled, of course)


Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Hi all,
I've run in into the following problem:
First off - I'm using Freemarker for my templates (very cool stuff, great job on introducing this )
Now, using the guide on the wiki (http://wiki.magnolia-cms.com/display/WIKI/Introduction+to+I18nContentSupport) I managed to i18n-ify my pages, however it only works when I output the values in the template using the cms:out tag - it doesn't work with the very nice Freemarker syntax ${content.something}. This is all using the default templates from the STK 1.1.
As per http://www.nabble.com/i18n-and-cms%3Aout---%24%7B...%7D-td24234038.html I created this bug report so this matter can be looked into



 Comments   
Comment by Philipp Bärfuss [ 30/Jun/09 ]

I moved this bug report to the main project as I believe that the problem lays in the main project. A investigation is needed for next bugfix release.

Comment by Jan Haderka [ 04/Aug/09 ]

The node wrapping (and i18n) was broken directly in STK renderers encoding raw nodes instead of wrapped ones.
Done as of r26969.

Generated at Mon Feb 12 07:26:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.