PDF not generating for Standard/Script reports in V13

Hi All,

Unable to generate PDF for standard/script reports.
After submitting PDF option, getting below error message:
Uncaught ReferenceError: lang is not defined



any suggestions?

Does user’s language setting is filled? Or system wide language is set?

Somehow frappe couldn’t find the language I think.

@TurkerTunali, yes language settings done but still same issue.