def METHOD_NAME(self, fn: str) -> None:
    with open(fn, "r") as f:
        lang_en: Optional[str] = None
        for line in f.read().split("\n"):
            if not line:
                continue
            if line[0] == "#":
                continue
            try:
                key, value = line.split(" ", maxsplit=1)
            except ValueError:
                continue
            if key == "msgid":
                lang_en = value[1:-1]
                continue
            if key == "msgstr" and lang_en:
                self.msgs[lang_en] = value[1:-1]
                lang_en = None
                continue