AnsweredAssumed Answered

Dynamic model titles not localized

Question asked by aspa on Oct 8, 2010
Latest reply on Feb 1, 2011 by frankb
Hi,

I can't get content model localization to work for a dynamic model in Alfresco community v3.3g.
The aspect and property labels are not localized and the Explorer only shows the titles from the model file, not the properties file.
I've reloaded the message bundle and the web client config after each update.

I've placed the model in Company Home -> Data Dictionary -> Models and it looks like this:

<model name="foo:xxfoomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

    <aspect name="foo:siteFolder">
      <title>foo site folder</title>
      <properties>
        <property name="foo:siteKey">
          <title>site's key</title>
          <type>d:text</type>
        </property>
      </properties>


web-client-config-custom.xml is placed in Company Home -> Data Dictionary -> Web Client Extension:

  <config evaluator="aspect-name" condition="foo:siteFolder">
    <property-sheet>
      <show-property name="foo:siteKey" read-only="true"/>
    </property-sheet>
  </config>
xxfoomodel.properties is placed in Company Home -> Data Dictionary -> Messages:


foo_xxfoomodel.aspect.foo_siteFolder.title=Site folder
foo_xxfoomodel.property.foo_siteKey.title=Site key

Is there something obvious I'm missing here?

Outcomes