Localization Processor

Add translations directly to the template - this gives frontenders faster handling of the translation variables

Parameter Description
extensionsToLoad Commaseparated list of extension-keys
flat

If active, all translations of all translations will be outputed in one resulting list, otherwise the translations would be grouped by extension key

as If set, the result would be stored in this key, otherwise the result-fields will directly be merged in the data(!)

Example Case

tt_content.tx_myextension_joblistctype {
   dataProcessing {         
      20 = Jar\Utilities\DataProcessing\LocalizationProcessor
      20 {
         extensionsToLoad = myextension
         as = translations
         flat = 1
      }
   }
}
Copied!