"jinja2.exceptions.UndefinedError: '__' is undefined" When using new print format

I created a print format for Point of Sale called “Point of Sale Custom”. I created it by duplicating it with no changes whatsoever. But it seems to give me this error when selecting it from the print screen

Hi @zeeeeeeeero

Please provide some screenshots of the screens of new print format. Is there any code added in the HTML part?

Nah it’s exactly the same as the standard Point of Sale. I didn’t change anything but the print format name

This shouldn’t happen @zeeeeeeeero .

What is your ERPNext version?

Try updating it and try again by deleting the previously created print format.

Version 14