matthiaaas / otto-assistant

Voice assistant called "Otto"
11 stars 1 forks source link

fix matthiaaas/otto-assistant#4 - better way to find locale #5

Closed AlpixTM closed 4 years ago

AlpixTM commented 4 years ago

fix matthiaaas/otto-assistant#4 - better way to find locale:

On some systems, some locales are not called de_DE, but de_DE.utf-8, so try this. If this fails, give the user a hint. Also catch the error that causes a crash as described in #4