sibbl / hass-lovelace-kindle-screensaver

This tool generates a png from a Home Assistant Lovelace view, which can be displayed on a Kindle device which has the Online Screensaver plugin installed.
MIT License
311 stars 71 forks source link

Trouble with local and language settings #60

Closed toluen-kodekrets closed 1 year ago

toluen-kodekrets commented 1 year ago

This was a great and fun project. But I have trouble setting locale and language, as shown here in the calender card with both the time beeing with AM/PM and the dates/days in english. Any tips in getting these to be in Norwegian Bokmål?

bilde

sibbl commented 1 year ago

I'd recommend to set this in the profile page of the HA user, which you've created the auth token for: https://my.home-assistant.io/redirect/profile

There, language, time format, number format and first day of week can be set.

Additionally, Docker provides setting the timezone via the TZ=Europe/Berlin environment variable.

As far as I know, this should resolve all the localization troubles, but please let me know if something else might be required.

toluen-kodekrets commented 1 year ago

Thank you so much, works for all but the language for the days and the months in the calender, strange. But this will have to do.