AnsweredAssumed Answered

Model property name localization problems

Question asked by aspa on Aug 23, 2007
I've created a custom content model for Alfresco.
The model itself seems to be working fine, but I'm having problems localizing custom property names.
The model is packaged in an AMP file and the module-context.xml file looks like this:

<beans>
    <bean id="ext.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">

        <property name="labels">
           <list>
              <value>custom-model</value>
           </list>
        </property>
    </bean>


I've put a custom-model.properties file in the AMP file but the custom property names
that appear in the Web client are those defined in the model file, not the properties file.
The properties file looks like this:

my_custommodel.property.my_prop1.title=property1
my_custommodel.property.my_prop2.title=property2

Why are the localized property titles not being picked up from the properties file?

Outcomes