From 59442d16c531e4bd54028dea3fb9ae6a7312af7b Mon Sep 17 00:00:00 2001 From: Tsvi Mostovicz Date: Tue, 25 Mar 2025 19:20:10 +0000 Subject: [PATCH] Show the hebrew date in the correct language in the response --- homeassistant/components/jewish_calendar/service.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/jewish_calendar/service.py b/homeassistant/components/jewish_calendar/service.py index 1635f9cb0ab..a7e6314149e 100644 --- a/homeassistant/components/jewish_calendar/service.py +++ b/homeassistant/components/jewish_calendar/service.py @@ -46,6 +46,9 @@ def async_setup_services(hass: HomeAssistant) -> None: # the full language name language = cast(Language, SUPPORTED_LANGUAGES[call.data[CONF_LANGUAGE]]) + # Show the Hebrew Date in the response in the correct language + hebrew_date.set_language(language) + omer = Omer(date=hebrew_date, nusach=nusach, language=language) return { "message": str(omer.count_str()),