Skip to content

Property Mapping

Translation Manager comes with support for all the core Umbraco text based property editors and most of the popular 3rd party text based property editors. However there might be times when you have custom property editors that are not covered by the core installation.

Translation Manager 8.3 and above

If your custom property editors store text in the same was as any of the in built editors then you can map that editor value by using the custom mappings section of the translations.config file

<config>
    <mappers>
        <mappings>
            <add key="MyCustomTextProperty" value="Umbraco.Textbox" />
            <add key="MyCustom.Editor" value="Umbraco.TinyMCE" />
        </mappings>
    </mappers>
</config>

Tip

If you custom mapper is also used in the grid you should also add a Umbraco.Grid.[name] mapping. To cover those situations. e.g.

<add key="Umbraco.Grid.MyCustomTextProperty" value="Umbraco.TextBox" />

You will be able to see if you custom mappings have loaded on the Translation Manager "Diagnositcs" tab

These custom mappings will also be used for link mapping, so if you have any controls that include links, you can use these mappings to catch those values also.

e.g

<config>
    <mappers>
        <mappings>
            <add key="MyCustom.LinkMapper" value="Umbraco.MultiUrlPicker" />
        </mappings>
    </mapper>
</config>

Versions before 8.3

prior to v8.3 you can map custom text properties using the mapper / text settings.

<config>
    <mappers>
        <text>
            <text>MyCustomTextProperty,MySecondTextProperty</text>
        </text>
    </mappers>
</config>