How to change Mycroft-Language to german?

Hey together,

I’m currently using Mycroft on a Debian VM for trial purposes. I am interested in changing mycrofts language to german. Unfortunately, I do not understand the existing documentation correctly. Also some links to URLs is how to’s seems to be outdated or currently not working because of some bugs. I have basic administration skills in Linux, but nothing related to TTS, STT, Mycroft skills, Google-Projects, etc.

Maybe there is someone who is already using Mycroft in German and wants to share a working config file.

Many Thanks.

1 Like

In your Mycroft configuration (either /etc/mycroft/mycroft.conf or ~/.mycroft/mycroft.conf
insert at the beginning right after the opening curly brace like following:

{
"lang": "de-de",
  "tts": {
    "module": "google",
    "google" : {
      "lang": "de"
    },
... more configuration ...
}

feel free to join mycroft-chat channel ~language-de

2 Likes

Thanks Dominik for your help. Yes, it seems to work without bigger issues. :+1:

What interests me now is how the language is related to the available skills. After the config customization you suggested, Mycroft successful translated my spoken german into text and also wrote/spoke a german answer. However, it seemed like there were no skills anymore. Neither the question “What is your name”, nor “How is the weather in Berlin” could answered by Mycroft.

Also, the sound of the voice seems to be different than previously set-up on home.mycroft.ai. Is the voice-sound independently changeable?

A lot - but not all - skills are already translated to german. Try "wie ist das wetter"or “wikipedia angela merkel”. Unfortunately Mycroft does not load a skill when on of the referenced vocab/intent files is not availlable. This happens from time to time when some new functionality is added to a skill and the translated vocab/intent file is not available (yet). But you can contribute missing translation at translate.mycroft.ai

The configuration changes the text-to-speech engine to Google-TTS as this is the only (“free”) TTS-service that has a german voice.

Hi there,
it seems, that there is a curly brace missing… 3 are opening, but unfortunately only 2 are closing…
Where do i have to add it?
``
{
“lang”: “de-de”,
“tts”: {
“module”: “google”,
“google” : {
“lang”: “de”
} HERE? ,
… more configuration …
}

Cheers 
Caruso

i got it on my own…
The place was the right on:
“lang”: “de”
} },
…more…

Hi everyone, I want to change Mycroft-Language (Linux) to German. In order to do that, I’ve changed the language of Mycroft via configuration manager (With a command “mycroft-config edit user” in Terminal “mycroft-core/mycroft/configuration”). After that, I pasted following command:

{
“max_allowed_core_version”: 20.8,
“lang”: “de-de”,
“stt”: {
“module”: “mycroft”,
“mycroft”: {
“lang”: “de-de”
}
},
“tts”: {
“module”: “google”,
“google”: {
“lang”: “de”
}
}
}

It seems that, Mycroft is able to understand german spoken words but responds with German phrases in an English accent. I would be verry appreciated, if you can help me to solve this problem.

check my language support guide, using catalan as reference language but is generic enough

1 Like

it seems to be due to the google tts version I have included it in the instructions. https://github.com/gras64/docs-rewrite/blob/master/docs/using-mycroft-ai/customizations/languages/german.md . mycroft-pip install --upgrade gtts and mycroft-pip install --upgrade gtts-token help you.

1 Like

Upgrading gtts has worked for me :+1: