nielsfaber / alarmo

Easy to use alarm system integration for Home Assistant
1.31k stars 119 forks source link

Completing language #319

Closed Patrick44fr closed 2 years ago

Patrick44fr commented 2 years ago

Hello,

I use Alarmo, with satisfaction, it's really a good job. the translation is really great now. I noticed an oversight, but maybe it's not, really.

When receiving an alarm trigger notification by a sensor, the message received is in the chosen language, but the sensor status is always in the system language (English) example: is open. see the attached photo. Is it possible to change this Thank you in advance and good luck Patrick44fr

sorry for my broken english

Screenshot_2021-11-11-18-48-58-345_com textra

nielsfaber commented 2 years ago

I am already working on this! It is not that easy because the alerts are generated from the backend side, so the json translations are not accessible for me. However, Home Assistant has built in translations for binary sensors of different device types, so it will be able to find the right word for a door which is open, but also a motion sensor which is activated. I hope to be able to release this in a few days.

nielsfaber commented 2 years ago

It is now released in v1.7.6 You can select it here:

image

The french option will become automatically visible if your HA account is set to french as well.

Hope it works OK for you đź‘Ť

Patrick44fr commented 2 years ago

Ok it’s great , it’s work for me for sensors.

It don’t work for state of alarm : arm away, arm night….etc

Thank’s for your quick response

Good afternoon

nielsfaber commented 2 years ago

In the latest release (v1.8.0) the arm_mode wildcard also has the option to choose local translation. Please update Alarmo locally and check whether it works as you would expect. If so, you can close the issue. Otherwise, please let me know. Thanks for the help đź‘Ť

Patrick44fr commented 2 years ago

fine, translation for wilcard message, it's good thank's