AnsweredAssumed Answered

Problem Localizing properties from my content model

Question asked by irenailievska on Nov 6, 2014
Latest reply on Nov 7, 2014 by irenailievska
In a tutorial about content modeling I saw that for localization you can use  ex. type.mm_document=Document and it works also for aspect, but I can`t make it work when I use prop.mm_index=Index. I have tried using
prop.mm_index=Index
mm_index=Index
mm.index=Index
mm_mymodel.property.mm_index=Index
mm_mymodel.type.mm_document.property.mm_index=Index

and what not….
I really need help.

I created a bean

< beans >
    <  !– Add Project Share messages –>
    <  bean id="${project.artifactId}_resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
        <  property name="resourceBundles">
            < list>
                <   value>alfresco.module.${project.artifactId}.messages.mmModel< /value >
            < /list>
        < /property>
    < /bean>
< /beans>

Outcomes