Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 2.33 KB

translate.md

File metadata and controls

60 lines (43 loc) · 2.33 KB

Translate a skill

This page changes what a skill says and hears, into your language. Use it when a skill does not speak your language yet, or gets it wrong. Your words are saved beside the skill, not inside it, so a skill update cannot lose them.

The Translate page

The same page on a phone

Common tasks

  • Add a language a skill does not ship: follow the steps below and pick your language for "Translate into".
  • Fix a wrong or awkward line: pick the same skill and language, edit the line, and save.

How it works

A skill ships its words, the things it says and the phrases it listens for, in files, one set per language. This page lets you write your own set for a language the skill does not ship, or improve one it does. Your set is stored in the device's own data directory and is read before the skill's own files, so it wins without touching the installed skill.

Restart the OVOS services after saving. A skill reads its words when it loads and keeps them, so nothing changes until it loads again.

One limitation to know about, for now. The phrases a skill listens for (.voc, .intent) are read from your set. The words it says out loud come from its .dialog files, and those are not read from your set yet — see ovos-workshop#556 for where that stands. Your words are saved either way and start working once it is fixed.

Steps

  1. Skill: choose the skill to translate. If the list is empty, no skill is installed on the device yet.
  2. Translate from: the language to start from, usually the one the skill ships in.
  3. Translate into: the language code to write, for example pt-pt.
  4. File: the resource file to work on.

You then see the original lines beside your own. Fill in yours and save.

Machine help

If a translate plugin is installed, the page can fill in a first draft for you. A machine draft is marked as a draft until you accept it, so an automatic translation is never mistaken for one a person checked.

If it doesn't work

If the skill list is empty, install a skill first from the Skills page. For anything else, see troubleshooting.md.


← Personas · Home · Send over sound →