Issue Bug Closed

#84844Additional parameter(record field) needed for processTranslateTo_copyAction function

Ricky Mathew 04/24/18, 10:02 updated 12/23/19, 22:48

Description

processTranslateTo_copyAction is a nice hook for custom translation options.

It will be great to provide a fourth parameter , the ‘field’ parameter for this function. Because for the localisation of records, we need to know which field is passed to the hook, and then we can decide whether we need to translate that field or not.

It’s simple as adding a fourth parameter to the processTranslateTo_copyAction function as follows:

$hookObj->processTranslateTo_copyAction($row[$fN], $langRec, $this, $fN);

Reviews 3