function swapFlowLocale(flowResult, locale) {
  const localizedFlowResult = JSON.parse(JSON.stringify(flowResult));
  localizedFlowResult.steps = flowResult.steps.map(step => {
    return {...step, lhr: swapLocale(step.lhr, locale).lhr};
  });
  return localizedFlowResult;
}
@param {LH.FlowResult} flowResult
@param {LH.Locale} locale