AnsweredAssumed Answered

Constraint Localization in the Content Model

Question asked by damiri on Jun 22, 2009
Latest reply on Jul 17, 2017 by pnature
Hi everyone,


HOW TO localize (I18N) constraints values "Green, Red" from this ?


   <constraints>
      <constraint name="my:statusIndicatorList" type="LIST">
         <parameter name="allowedValues">
            <list>
               <value>Green</value>
               <value>Red</value>
            </list>
         </parameter>
      </constraint>
   </constraints>


IF the guide http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Model_Localization describes how to localize custom model


<model name="my:mynewmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <description>Example custom Model</description>
   <author></author>
    <!– Type and Aspect definitions go here –>
   <types>
      <type name="my:sop">
         <title>Standard Operating Procedure</title>
         <parent>cm:content</parent>
         <properties>
            <property name="my:publishedDate">
               <type>d:datetime</type>
            </property>
         </properties>
      </type>
    </types>



my_mynewmodel.description=Example custom model
my_mynewmodel.type.my_sop.title=SOP
my_mynewmodel.type.my_sop.description=Standard Operating Procedure
my_mynewmodel.property.my_publishedDate.title=Published Date

Outcomes