Skip to content

Commit

Permalink
setup locale
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 25, 2023
1 parent 3258a87 commit b504683
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hivemind_voice_satellite/service.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from hivemind_bus_client.client import HiveMessageBusClient
from ovos_dinkum_listener.service import OVOSDinkumVoiceService
from ovos_utils.log import LOG
from ovos_config.locale import setup_locale


def on_ready():
Expand Down Expand Up @@ -29,6 +30,7 @@ class VoiceClient(OVOSDinkumVoiceService):
def __init__(self, bus: HiveMessageBusClient, on_ready=on_ready, on_error=on_error,
on_stopping=on_stopping, on_alive=on_alive,
on_started=on_started, watchdog=lambda: None, mic=None):
setup_locale() # read mycroft.conf for default lang/timezone in all modules (eg, lingua_franca)
super().__init__(on_ready, on_error, on_stopping, on_alive, on_started, watchdog, mic,
bus=bus, validate_source=False)

Expand Down

0 comments on commit b504683

Please sign in to comment.