Help: Assist provides status information only in English instead of configured language

I’ve configured my (voice) assistants to run fully local and to use German as language.
It understands me pretty well. But When I ask for the status of a sensor, e.g. window, door, cover or a light it responds with ‘on’, ‘off’, ‘closed’, ‘open’ and so on, but I would expect the status to be in German ‘an’, ‘aus’, ‘geschlossen’, ‘offen’ and so on.

What do I need to do to get the status information as well in my language?

It is a complex task if the language uses different endings (see the implementation in Polish). I chose a simpler option.
You will need to change the first block “one”.

You can do this locally by creating a custom response with a new HassGetState. Or contact the community/propose your own PR