documentation
documentation copied to clipboard
Testing in different languages
I found this link: https://mycroft.ai/documentation/skills/automatic-testing/#how-to-define-tests-for-your-skill
And asked myself, how can I do this in a different language?
Or in a multilingual way?
Defining the utterance as de-de or en-us?
Is it done via the context, or some other way?
The documentation should give an example here, if implemented. Otherwise it is an issue for the skills section. As testing utterance only in one language is way to less.
Just to update, as we've moved to a new Behavioural Driven Development test framework Voight Kampff.
This will now require a new Given Step to be added to core.
https://mycroft-ai.gitbook.io/docs/skill-development/voight-kampff/custom-steps
Eg:
Given a {language} speaking user
When ...
Then ...
It may work just to set the language configs using the existing:
Given the user's {config} is {value}
however I haven't tested this.