Staging instance, all changes can be removed at any time

Skip to content

Replace 'normalize' parameter of _translate_dict() with a hook method

This parameter was only used to execute extra code before normalize_translation is called. This caused some duplication, and will not work when switching to a non-JSON-LD internal representation.

Removing it also makes the code of mappings more consistent, by removing specific field handling from their implementation of the translate method itself.

Depends on !367 (closed).


Migrated from D8275 (view on Phabricator)

Merge request reports

Loading