Change the language in your profile settings.
A binary sensor that is on/off and has device class door or window will show open/closed in the frontend in the respective language configured for your profile.
Ok, so it’s not a binary sensor, but a normal sensor.
Either change the state that is reported by the sensor if possible or create a template binary sensor based on the existing sensor.