mycroft.conf
.mycroft-core
needs to have supporting files added to the Lingua Franca library.mycroft.conf
file. Using the Configuration Manager we can set the language by running:mimic2
TTS software."mimic"
"mimic2"
"google"
"marytts"
"fatts"
"espeak"
"spdsay"
"watson"
"bing"
"responsive_voice"
dialog
, vocab
or locale
. Within these directories is a directory for each of the languages the Skill supports, named after the BCP-47 language code for the language - such as en-us
for American English and pt-br
for Brazilian Portuguese.dialog
and vocab
files on the Mycroft Translate platform. When significant progress has been made on a language in Mycroft Translate, the translations are automatically added to Skills.dialog
and vocab
files for a Skill on your own device if you need to. Each Skill is in it's own directory on your device at /opt/mycroft/skills/
.mycroft-core
also requires localization, in particular to extract dates and numbers.parse_LANG.py
- this file parses large numbers, extracts dates and times in formats specific to the language, and handles definite articles such as 'a, an' etc.format_LANG.py
- this file formats cardinal and ordinal numbers, and helps to handle pronunciation of complex phrases involving decimals and fractions. Depending on the language, this file will also help format days of the week and other complex date and time phrasing.mycroft-core
are:fr
)hu
)it
)pt
)sv
)da
)nl
)es
)mycroft.conf
file for Italian users might look like: