diff --git a/lighthouse-core/report/html/report-template.html b/lighthouse-core/report/html/report-template.html index 52373acd4f4e..7b89d3c27e4c 100644 --- a/lighthouse-core/report/html/report-template.html +++ b/lighthouse-core/report/html/report-template.html @@ -15,7 +15,7 @@ limitations under the License. --> - + diff --git a/lighthouse-core/report/report-generator.js b/lighthouse-core/report/report-generator.js index 384bc36b368c..d87e589f1920 100644 --- a/lighthouse-core/report/report-generator.js +++ b/lighthouse-core/report/report-generator.js @@ -40,6 +40,7 @@ class ReportGenerator { const sanitizedJavascript = htmlReportAssets.REPORT_JAVASCRIPT.replace(/<\//g, '\\u003c/'); return ReportGenerator.replaceStrings(htmlReportAssets.REPORT_TEMPLATE, [ + {search: '%%LIGHTHOUSE_LOCALE%%', replacement: lhr.configSettings.locale}, {search: '%%LIGHTHOUSE_JSON%%', replacement: sanitizedJson}, {search: '%%LIGHTHOUSE_JAVASCRIPT%%', replacement: sanitizedJavascript}, {search: '/*%%LIGHTHOUSE_CSS%%*/', replacement: htmlReportAssets.REPORT_CSS},