When applying the translate plugin to an array, the destination array will contain nil values or the fallback value in case no match was found in the dictionary. There should exist an option to not write any nil values (or fallback values) to the resulting array. nil values or fallback values may not be desired, in which case they will need to be removed using another ruby filter.
When applying the translate plugin to an array, the destination array will contain
nil
values or the fallback value in case no match was found in the dictionary. There should exist an option to not write anynil
values (or fallback values) to the resulting array.nil
values or fallback values may not be desired, in which case they will need to be removed using another ruby filter.Example:
Output:
Desired output: