Impacted versions:
Master branch, should by 12.0

Steps to reproduce:
Install a third party addon with localization po file in i18n folder, even loading translation manually, the translation won't work, The console reports error: Translation .... not found in reference pot, skipping.
Reverse the change of  "odoo/tools/translate.py" in this commit, the issue was gone.

Expected behavior:
The po translation works as before.



odoo/tools/translate.py
def __init__(self, buffer):
        
        
        self.buffer = codecs.StreamReaderWriter(
            stream=buffer,
            Reader=codecs.getreader('utf-8'),
            Writer=codecs.getwriter('utf-8')
        )
    def __iter__(self):
        self.buffer.seek(0)
        self.lines = self._get_lines()
        self.lines_count = len(self.lines)
        self.first = True
        self.extra_lines= []
        return self
    def _get_lines(self):
        lines = self.buffer.readlines()
        
        if len(lines):
            lines[0] = lines[0].lstrip(u"\ufeff")
        lines.append('') 
        return lines
    def cur_line(self):