Skip to content

Help pages translation ​

An agent translates the help pages, and a command checks that every page, heading and link is kept.

In words ​

The wishThe help pages in Spanish, saying the same as the English ones

Step 1 · translate

What to doTranslate every page in help/en into help/es, keeping each file's name, its headings and its links.
Who does itAn agent
What proves it
  • These must be there: help/es
  • A command must pass: docs-compare help/en help/es --same-files --same-links
  • Another agent must find this true: “Each page in help/es says the same as its page in help/en, in natural Spanish.”

Step 2 · review

What to doRead the Spanish pages and say what to change.
Who does itA person
What proves itTheir word stands.

The file ​

json
{
  "$schema": "vpf/1",
  "wish": "The help pages in Spanish, saying the same as the English ones",
  "steps": [
    {
      "id": "translate",
      "do": "Translate every page in help/en into help/es, keeping each file's name, its headings and its links.",
      "by": "agent",
      "model": "a-model-good-at-spanish",
      "tools": [
        "read",
        "write"
      ],
      "proof": [
        {
          "by": "algorithm",
          "needs": [
            {
              "need": "folder",
              "path": "help/es"
            }
          ]
        },
        {
          "by": "algorithm",
          "run": "docs-compare help/en help/es --same-files --same-links"
        },
        {
          "by": "agent",
          "check": "Each page in help/es says the same as its page in help/en, in natural Spanish."
        }
      ]
    },
    {
      "id": "review",
      "do": "Read the Spanish pages and say what to change.",
      "by": "person"
    }
  ]
}

Why it is written this way ​

The step names a model good at the language. Another agent compares the meaning, and a person reads the result.

Code, schema and examples under the Apache License 2.0. Guide text also under CC BY 4.0.