added TranslateArray method

This adds the new TranslateArray method.