xlcnd / meteoalarmeu

A 'custom component' for Home-Assistant for Weather Warnings from meteoalarm.eu
GNU General Public License v3.0
20 stars 3 forks source link

Missing Language #10

Closed agisofttm closed 3 years ago

agisofttm commented 3 years ago

Hi,

Thanks for wonderful integration. Is there a way to include Bulgarian Language as well? I've used it before last update.

Thank you in advance

xlcnd commented 3 years ago

For country "BG" (Bulgaria) the language is "cu" (the ISO 639-1 code for Bulgarian). In fact, it is the only available language for Bulgaria's alerts! I see that today there aren't any alerts for Bulgaria...

agisofttm commented 3 years ago

For country "BG" (Bulgaria) the language is "cu" (the ISO 639-1 code for Bulgarian). In fact, it is the only available language for Bulgaria's alerts! I see that today there aren't any alerts for Bulgaria...

Actually is "bu". I saw it on meteoalarm. And yes - unfortunately there are no alerts for today, but there was a lot last weeks.

Screenshot 2021-02-23 at 19 46 26
xlcnd commented 3 years ago

You are right! I have already fixed this (in meteoalarm-rssapi), however I have to check why this mistake happened, because this is done by some automatic tools...

In the next version of meteoalarmeu it will be fixed.

xlcnd commented 3 years ago

Solved with Release v2021.4.3.

Thanks.

xlcnd commented 3 years ago

In fact, the ISO 639-1 code for Bulgarian is bg as can be checked here! So in the next version of the component bg will be used instead of bu.

The meteoalarm.eu site uses some non-standard abbreviations for the language, but not in places used by this component.

xlcnd commented 3 years ago

Solved with Release v2021.5.0.