system.kanoa.utilities.translateData(data, colList, locale)
Translates the list of columns of the passed in dataset into the given locale language
Parameters
data pyDataset: Dataset to be translated. Can also be a basic dataset
colList List: List of columns to be translated (empty list if all columns)
locale String: locale language to traslate to i.e. 'es'
Returns
translatedData pyDataset
Example
data = system.kanoa.lot.getLotStates({})
translatedData = system.kanoa.utilities.translateData(data, ['lotStateName'], 'es')