def METHOD_NAME(
    self, template_name: str, lang: str, part: str, data: Dict
) -> str:
    self._load_translation(lang)
    template = self._env.get_template(f'{template_name}/{part}')
    return template.render(data)