AnsweredAssumed Answered

MLText from freeMarker templates

Question asked by mr.g.c. on May 25, 2007
The scenario of use is an external app (a portlet in a portal) accessign Alfreco content through the template servlet. The content must be internationalized based on the language selected by user in the portal.

We use MLText properties in our custom models.

We would like to build a FM template accessing MLText properties, and have the returned value  by the invocation to document.properties.myMLproperty to be based on the language set by a parameter, or the locale we set in the template code before calling document.properties.myMLproperty.
However we do not understand how to control the language used by the Alfresco MLText implementation of the property in this scenario.

Can somebody help ?
Please it is very important to us

Thanks in advance
-giovanni

Outcomes