LocalizeEntry transformer

Creates a new array entry for each row that contains the source field

Array entry structure:

[
 name => valueOf(translationsFieldName),
 value => [
    localeId => [targetField => valueOf(sourceField)]
    ]
]

Usage:

<localize-entry
    translationsFieldName="translationsFieldName"
    from="sourceFieldName"
    to="targetFieldName"
    locale="localeName"
/>

Attributes:

  • translationsFieldName - name of the field with translations

  • from - name of the field to be transformed

  • to - name of the field to be created

  • locale - locale to be used = uses current locale by default