nielsfaber / alarmo-card

Home Assistant card for controlling the Alarmo component
108 stars 20 forks source link

Alarmo under RTL Languages #54

Closed niraviry closed 1 year ago

niraviry commented 1 year ago

Alarmo Version

v1.9.7

HA Version

2023.1.2

Bug description

The Alarmo card has a bug when working with RTL (Hebrew in my case).

  1. The Entity field does not show. Moving to English shows it and enables defining it. Moving back to Hebrew and I guess any other RTL Language keeps the Entity field in place.
  2. The pin field is set to the right hand side and not placed in the middle.
  3. On some of the setup pages (actions for instance) menus are not aligned properly and are one over the other.
  4. I did try to add the entity entry in the code editor but it did not work. This needs double verification but if nielsfaber/alarmo#1 is fixed, this will not be an issue anymore.

Steps to reproduce

Just add an new Alarmo Card under to the dashboard while under Hebrew and I guess Arabic.

Relevant log output

No need
nielsfaber commented 1 year ago

I'm sorry but I did not spend any effort making the card compatible with RTL mode (the same applies to the configuration GUI of alarmo). For me it is rather hard to test, because I don't know how things are supposed to look in Hebrew. Perhaps you can share some scrreenshots to instruct what's wrong and how it should be modified?

niraviry commented 1 year ago

The basic problems are not related to RTL itself and the way it supposed to look. If you simply change to Hebrew, the Entity field disappears so you get an error. Trying to set various parameters, the parameters fields are still in English but the labels are messed up overlapping each other. If you like, I can help translating to Hebrew.

niraviry commented 1 year ago

I can say that it is quite impossible to work under RTL languages in the Alalrmo. All menus are remain in English but it is a mess when it comes to the UI. Furthermore, I have discovered another bug. I set an action - Pushover Notification for Alarm arm - Home. I reports Away instead of Home.

niraviry commented 1 year ago

I got a strange situation. Everything is working fine yet or even great but under HACS the Alarmo card is reported as not loaded properly to Lovelace. No other report.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days