From 2a42ade148bac5e963198c9da60ebb4ee9c292c1 Mon Sep 17 00:00:00 2001 From: Andreas Lorensen Date: Mon, 4 Nov 2024 19:53:47 +0100 Subject: [PATCH] added swedish and nowegian --- ovos_config/locale.py | 1 + ovos_config/recommends/base/no-no.conf | 9 +++++++++ ovos_config/recommends/base/sv-se.conf | 9 +++++++++ ovos_config/recommends/offline_male/no-no.conf | 8 ++++++++ ovos_config/recommends/offline_male/se-sv.conf | 8 ++++++++ ovos_config/recommends/offline_stt/no-no.conf | 9 +++++++++ ovos_config/recommends/offline_stt/sv-se.conf | 9 +++++++++ ovos_config/recommends/online_male/no-no.conf | 8 ++++++++ ovos_config/recommends/online_male/sv-se.conf | 8 ++++++++ ovos_config/recommends/online_stt/no-no.conf | 6 ++++++ 10 files changed, 75 insertions(+) create mode 100644 ovos_config/recommends/base/no-no.conf create mode 100644 ovos_config/recommends/base/sv-se.conf create mode 100644 ovos_config/recommends/offline_male/no-no.conf create mode 100644 ovos_config/recommends/offline_male/se-sv.conf create mode 100644 ovos_config/recommends/offline_stt/no-no.conf create mode 100644 ovos_config/recommends/offline_stt/sv-se.conf create mode 100644 ovos_config/recommends/online_male/no-no.conf create mode 100644 ovos_config/recommends/online_male/sv-se.conf create mode 100644 ovos_config/recommends/online_stt/no-no.conf diff --git a/ovos_config/locale.py b/ovos_config/locale.py index 65258af..ad8ee09 100644 --- a/ovos_config/locale.py +++ b/ovos_config/locale.py @@ -38,6 +38,7 @@ def get_full_lang_code(lang): 'hu': 'hu-hu', 'it': 'it-it', 'nl': 'nl-nl', + 'no': 'no-no', 'pl': 'pl-pl', 'pt': 'pt-pt', 'ru': 'ru-ru', diff --git a/ovos_config/recommends/base/no-no.conf b/ovos_config/recommends/base/no-no.conf new file mode 100644 index 0000000..54ca4a2 --- /dev/null +++ b/ovos_config/recommends/base/no-no.conf @@ -0,0 +1,9 @@ +{ + "system_unit": "metric", + "temperature_unit": "celsius", + "windspeed_unit": "km/h", + "precipitation_unit": "mm", + "time_format": "full", + "spoken_time_format": "full", + "date_format": "DMY" +} diff --git a/ovos_config/recommends/base/sv-se.conf b/ovos_config/recommends/base/sv-se.conf new file mode 100644 index 0000000..a82b3b2 --- /dev/null +++ b/ovos_config/recommends/base/sv-se.conf @@ -0,0 +1,9 @@ +{ + "system_unit": "metric", + "temperature_unit": "celsius", + "windspeed_unit": "km/h", + "precipitation_unit": "mm", + "time_format": "full", + "spoken_time_format": "full", + "date_format": "YMD" +} diff --git a/ovos_config/recommends/offline_male/no-no.conf b/ovos_config/recommends/offline_male/no-no.conf new file mode 100644 index 0000000..fb8dbeb --- /dev/null +++ b/ovos_config/recommends/offline_male/no-no.conf @@ -0,0 +1,8 @@ +{ + "tts": { + "module": "ovos-tts-plugin-piper", + "ovos-tts-plugin-piper": { + "voice": "nst_talesyntese-medium" + } + } +} diff --git a/ovos_config/recommends/offline_male/se-sv.conf b/ovos_config/recommends/offline_male/se-sv.conf new file mode 100644 index 0000000..fb8dbeb --- /dev/null +++ b/ovos_config/recommends/offline_male/se-sv.conf @@ -0,0 +1,8 @@ +{ + "tts": { + "module": "ovos-tts-plugin-piper", + "ovos-tts-plugin-piper": { + "voice": "nst_talesyntese-medium" + } + } +} diff --git a/ovos_config/recommends/offline_stt/no-no.conf b/ovos_config/recommends/offline_stt/no-no.conf new file mode 100644 index 0000000..d7b1296 --- /dev/null +++ b/ovos_config/recommends/offline_stt/no-no.conf @@ -0,0 +1,9 @@ +{ + "stt": { + "module": "ovos-stt-plugin-fasterwhisper", + "fallback_module": "", + "ovos-stt-plugin-fasterwhisper": { + "model": "small" + } + } +} diff --git a/ovos_config/recommends/offline_stt/sv-se.conf b/ovos_config/recommends/offline_stt/sv-se.conf new file mode 100644 index 0000000..d7b1296 --- /dev/null +++ b/ovos_config/recommends/offline_stt/sv-se.conf @@ -0,0 +1,9 @@ +{ + "stt": { + "module": "ovos-stt-plugin-fasterwhisper", + "fallback_module": "", + "ovos-stt-plugin-fasterwhisper": { + "model": "small" + } + } +} diff --git a/ovos_config/recommends/online_male/no-no.conf b/ovos_config/recommends/online_male/no-no.conf new file mode 100644 index 0000000..7c4e1ab --- /dev/null +++ b/ovos_config/recommends/online_male/no-no.conf @@ -0,0 +1,8 @@ +{ + "tts": { + "module": "ovos-tts-plugin-server", + "ovos-tts-plugin-server": { + "voice": "nst_talesyntese-medium" + } + } +} diff --git a/ovos_config/recommends/online_male/sv-se.conf b/ovos_config/recommends/online_male/sv-se.conf new file mode 100644 index 0000000..7c4e1ab --- /dev/null +++ b/ovos_config/recommends/online_male/sv-se.conf @@ -0,0 +1,8 @@ +{ + "tts": { + "module": "ovos-tts-plugin-server", + "ovos-tts-plugin-server": { + "voice": "nst_talesyntese-medium" + } + } +} diff --git a/ovos_config/recommends/online_stt/no-no.conf b/ovos_config/recommends/online_stt/no-no.conf new file mode 100644 index 0000000..331ce12 --- /dev/null +++ b/ovos_config/recommends/online_stt/no-no.conf @@ -0,0 +1,6 @@ +{ + "stt": { + "module": "ovos-stt-plugin-server", + "fallback_module": "" + } +}