This content enricher goal is to provide a label used client side for displaying the value of a property, so as to be able to compute this label server-side thus saving many rest calls.
We can reuse the existing content enricher extension point by adding the ability to define parameters to configure property mappings the following way:
<enricher name="coverage" class="...VocabularyEnricher"> <category>displayScreenMapping</category> <parameter name="field">dc:coverage</parameter> <parameter name="dbl10n">true</parameter> <parameter name="directoryName">l10ncoverage</parameter> </enricher>
That way, calling "displayScreenMapping" in the nx-category will use this content enrichment with the configured mapping.