[TYPO3] T3DataStructure localization

Xavier Perseguers typo3 at perseguers.ch
Tue Jun 17 16:27:34 CEST 2008


Hello,

With following flexform extract, I can localize my plugin's settings:

<T3DataStructure>
   <meta>
     <langDisable>0</langDisable>
   </meta>
   <ROOT>
     <type>array</type>
     <el>
       <referenceFields>
         <TCEforms>
           <label>Fields</label>
           <config>
             <type>select</type>
             <items type="array">
               <numIndex index="0" type="array">
                 <numIndex index="0"></numIndex>
                 <numIndex index="1"></numIndex>
               </numIndex>
             </items>
             <itemsProcFunc>tx_myext_list->getItems</itemsProcFunc>
           </config>
         </TCEforms>
       </referenceFields>
       <caption>
         <TCEforms>
           <label>Caption</label>
           <config>
             <type>input</type>
             <checkbox></checkbox>
             <size>50</size>
           </config>
         </TCEforms>
       </caption>
     </el>
   </ROOT>
</T3DataStructure>

With parameter <langDisable> I see these 2 fields instantiated for each 
language when I edit plugin's settings. Is there a way to only have the 
field "caption" localized (thus displayed for each language) but the 
dropdown "referenceFields" only once (as it only make sense to specify 
this once with my extension)?

Cheers

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-english mailing list