In my opinion, the error has nothing to do with Polylang. Did you modify your theme on your local site?
Otherwise you can make the translation on your remote version and get back the translations files (.po/.mo) back to your local install to check that everything is ok.