How to change the header and footer when changing the language using the Polylang plugin in WordPress on the Custom Template?

Development | Web Development
There is a site www.felixspiegelmd.com, written in manual and stretched on Wordpress, the site has 2 languages ​​when creating a new page in another language, there are native header and footer in which the old language remains which is not good, how to make the contents of the header and footer change when the language is changed?
No attachments
__e('My source code') and then you add files for translation.
on March 19th, 2020 (10:58 pm)
All coments
This job has not been commented yet.