Search code examples
node.jsinternationalizationlighthouse

How to change language of google lightouse report


It's possible to change language of Google Lighthouse CLI or with node script ?

I found a lot of i18n files in the source code. But, the json report goes out in english.

Thanks


Solution

  • Solved with --locale option

    lighthouse --locale fr https://www.chromestatus.com/features --view
    

    Same value in node.