How to use translation in Templates?

I’m using GitHub - ekutner/home-connect-hass: Alternative (and improved) Home Connect integration for Home Assistant and want to send

states("sensor.bosch_washing_selected_program")

to telegram but I’m always see “LaundryCare.Washer.Program.Mix” as a payload. In UI translation is done correctly using my localization settings. Values are coming from this translations file home-connect-hass/custom_components/home_connect_alt/translations/en.json at c7f048b3a0cb1b7096f41cbd3e0cdf251654b996 · ekutner/home-connect-hass · GitHub

I’ve found similar problem in different topic however solution is to hardcode translation file in template:

How can I use translations in templates without hardcoding?