-
Work Item
-
Resolution: Done
-
Major
-
None
-
All
-
GreenHopper Ranking:0|i2d2gr:
-
9223372036854775807
-
TDP
-
Small
In data preparation, we are using tacokit processors that includes some metadata that need to be translated. At the moment, there is no mean to handle localization of these metadata by i18n tacokit mechanism.
We want to be able to translate all keys declared as metadata.
@Function( description = "Delete this row", categories = { "Dataprep/Data cleansing" }, scopes = { Function.Scope.LINE }, terms = {}) public class DeleteRowProcessor extends FunctionProcessor
It is currently filled in a `FunctionEnricher` as metadata properties
public class FunctionEnricher implements ComponentMetadataEnricher { ... metas.put("processor::type", "function"); metas.put(FUNCTION_META_PREFIX + "description", function.description()); metas.put(FUNCTION_META_PREFIX + "categories", String.join(DELIMITER, function.categories())); metas.put(FUNCTION_META_PREFIX + "scopes", Arrays.stream(function.scopes()).map(Scope::name).collect(Collectors.joining(DELIMITER))); metas.put(FUNCTION_META_PREFIX + "terms", String.join(DELIMITER, function.terms()));
- is related to
-
TCOMP-2151 Add documentation translation to metadata
- Done