Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Japanese

How the Japanese machine translation of the Harness Developer Hub is tested, checked, and scored before it goes live.

This page is the test bed for the Japanese translation of the Harness Developer Hub. It sets out what the testing is for, how every example is checked and scored, and which open questions the examples answer. The examples themselves live on their own page, so each can change without re-translating this one.

What you will learn from this topic

This page covers the following:

  • What the examples are for, and the decisions they support.

  • The five checks applied to every example, and the score scale.

  • Which open questions about GitBook translation each example answers.

  • Where to find the examples, and how to score them.

Intended use cases

The examples serve four purposes:

  • Launch decision: The Japanese site goes live when no example scores Severe and every Minor result is understood and accepted.

  • Glossary and instruction tuning: The language owner changes a rule, waits for the space to translate again, and scores the examples again.

  • Evidence for GitBook: When a failure comes from how GitBook handles a sentence, we send GitBook the example number and its translated output. That gives them a case they can reproduce.

  • A template for other languages: Most examples test sentence structure rather than Japanese. The same set applies to German, Portuguese, and any language we add later.

The examples are fixed on purpose. When the glossary, the Translation Instructions, or GitBook itself changes, we score the same examples again and compare. A fix in one place cannot quietly break something somewhere else.

Baseline from earlier testing

Earlier rounds of testing in this space established what already works:

  • Code blocks, URLs, file paths, and identifiers come through untouched.

  • Negation and contrast ("not", "but", "instead") translate correctly.

  • Most plain prose is understandable, and often good.

Two kinds of problem remain:

  • Severe: A sentence with a link or a bold UI label can break into incomplete fragments. Request access and View full release notes are two labels where this happens. This happens even when the Translation Instructions describe the structure we want.

  • Minor: Some phrasing is too literal, and some generic technical terms are treated as product names.

The examples focus on the first problem, check the second, and guard the baseline so it does not slip back.

The five checks

Each example is read in Japanese and checked against the same five questions:

  1. Complete: Does the translation read as one or more complete Japanese sentences, with no fragment left hanging?

  2. Faithful: Does it say what the English says, with nothing added, dropped, or reversed?

  3. Intact: Are links, UI labels, inline code, and identifiers whole, working, and formatted as in the source?

  4. Consistent: Is each glossary term translated the same way every time it appears?

  5. Natural: Would a Japanese engineer write it that way, or does it read as word-for-word?

Score scale

Score
Meaning

Pass

Meets all five checks.

Minor

Accurate and understandable, but fails the Consistent or Natural check.

Severe

Fails the Complete, Faithful, or Intact check. A reader could misunderstand the step or fail to act on it.

The language owner scores every example. Scores are recorded on the tracking ticket rather than on either page, because every edit to a page triggers a new translation of it.

When to score again

Score the full set again after any of the following:

  • A change to the glossary or the Translation Instructions.

  • A change GitBook announces to how translation works.

  • The final pass before the launch decision.

Open questions the examples answer

We have asked GitBook several questions about how translation works. Some examples answer those questions by experiment, so we are not left waiting on a reply. All examples are on the Japanese Translation Examples page.

Question
What we want to know
Examples

Q1. Translation unit

Does the translator see the whole sentence, or the separate pieces on either side of a link or bold label?

JA-02 to JA-06

Q2. Reordering

Can a link or label move to the position Japanese grammar needs?

JA-03, JA-04, JA-06

Q3. Generated content

Is content written by an integration translated differently to content written by hand?

JA-07

Q4. Instruction coverage

Are the Translation Instructions applied in full, and to every kind of block?

JA-11, JA-12

Q5. Glossary matching

Is matching case-sensitive, and does it work inside a link or bold text?

JA-09, JA-10

Next steps

Use the following pages alongside this one:

  • Japanese Translation Examples: Go to the examples page to score each example against the five checks.

  • Localization: Go to the Localization overview to review the rules that keep English as the source of truth.

Last updated

Was this helpful?