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

Examples

Thirteen fixed English examples for testing the Japanese machine translation of the Harness Developer Hub, with the purpose and pass criteria for each.

Each example on this page isolates a single thing that tends to go wrong in translation. Read the page in English to see the source, then switch the space to Japanese to see the result. Score each example against the five checks on the Japanese overview.

What you will learn from this topic

This page covers the following:

  • The purpose of each example, and which open question it answers.

  • The English source under test for each example.

  • What a pass looks like for each example.

How to read an example

Every example uses the same layout: what it is for, the English source under test, and what a pass looks like. The source under test always comes after the Source label. Every source follows the HDH style guide, except JA-07, which copies generated text word for word on purpose.

JA-01: Plain sentence (control)

Purpose: A control. A sentence with no formatting shows how good the translation is when nothing gets in its way. If this one fails, every other result is suspect.

Source

Harness runs each stage of a pipeline in order, and a stage starts only after the previous stage completes successfully.

A pass looks like: One or two complete sentences. The condition "only after" is kept, not softened to "after".

Purpose: Tests Q1. This is the "Go to X to Y" pattern the style guide requires for every cross-reference (rule S-2), so it appears on thousands of pages. English puts the link straight after the verb and the purpose at the end. Japanese needs the purpose first and the verb last, so the link has to move.

Source

Go to Feature Flag Access to understand how you request access to a gated feature.

A pass looks like: One complete sentence. The link still opens the Feature Flag Access page, and the link text reads naturally inside the sentence.

JA-03: Bold button label as the object of the verb

Purpose: Tests Q1 and Q2. This is the exact pattern that fails today. English puts the UI label after the verb, and Japanese needs it before the verb.

Source

Click Request access to open the request form.

If a feature is not available in your account, click Request access, then describe how you plan to use it.

A pass looks like: Both sentences complete. Request access stays bold, and it matches the label the reader sees in the product, whether that label is translated or kept in English.

JA-04: The same label at the start, middle, and end

Purpose: Tests Q2. The three sentences say the same thing with the label in a different position each time. All three are good English in their own right, and none is written to suit Japanese. If only the sentence that starts with the label passes, inline elements are pinned to their source position. That is a GitBook issue to raise.

Source

Regenerate now rebuilds the summary page from the last 30 days of release notes.

In the integration settings, click Regenerate now to rebuild the summary page from the last 30 days of release notes.

The integration rebuilds the summary page from the last 30 days of release notes when you click Regenerate now.

A pass looks like: All three sentences complete, with Regenerate now bold and whole in each.

JA-05: The same sentence with four kinds of inline content

Purpose: Tests Q1. All four sentences end with the same purpose and change only the inline element at the front. The plain version is the control. If it passes and the others fail, the inline element itself is what splits the sentence. Comparing the three failures shows whether links, bold text, and inline code behave differently.

Source

Open the Platform release notes to read the full history for the Platform module.

Go to Platform release notes to read the full history for the Platform module.

Click View full release notes to read the full history for the Platform module.

Open release-notes/platform.md to read the full history for the Platform module.

A pass looks like: All four sentences complete and equally natural. The link still works, the label stays bold, and release-notes/platform.md is unchanged.

JA-06: Several inline elements in one sentence

Purpose: Tests Q1 and Q2 under load. Inline code, a bold label, and a link in one two-action step give the translator the most pieces to keep in order. Two actions is the most the style guide allows in one step (rule GB-25).

Source

In the integration settings for harness-release-notes-summary, click Regenerate now, then go to Release Notes Summaries to check the result.

A pass looks like: One or more complete sentences that keep the two actions in the same order. The integration name, the label, and the link all stay whole, and the link still works.

JA-07: A copy of the generated release notes text

Purpose: Tests Q3. On ordinary pages, the "View full release notes" sentence translates well. On the integration-generated Release Notes Summaries page, it breaks. The three blocks below copy the generated text word for word. They are written by hand, though, and arrive through Git Sync like any other page. This example does not follow the style guide, on purpose. Correcting it here would stop it testing what the integration really writes.

Source

Review the full module release notes by selecting a module in the sidebar, or using the View full release notes links beside each module summary below.

INFO

Review the full module release notes by selecting a module in the sidebar, or using the View full release notes links beside each module summary below.

Last updated Sep 16, 2026 · View full release notes →

A pass looks like: All three blocks translate as well as the plain paragraph. Compare each one with the same text on the Release Notes Summaries page in Japanese:

  • If all three pass here and fail on the generated page, the difference is how integration content reaches GitBook, and that goes to GitBook.

  • If the paragraph passes but the hint fails, the hint block or its literal INFO line is the cause. The fix is in our integration's output.

  • If the italic line fails in both places, the cause is the short fragment with an arrow in its link text. The fix is in our integration's output.

JA-08: Product names and generic terms

Purpose: Checks the Minor problem. Product names follow the glossary. Generic terms such as source code, pipeline, and pull request are ordinary words, not names.

Source

Code Repository stores your source code, and a Continuous Integration pipeline builds it on every pull request.

A pass looks like: Both module names follow the glossary. The generic terms follow the convention the language owner sets, translated or kept in English. They are not treated as product names.

JA-09: The same glossary term with different capitals

Purpose: Tests Q5. A term at the start of a sentence has a capital letter, and the same term mid-sentence does not. Both are normal English, so both must match the glossary.

Source

Pipelines are made of stages. Each stage in a pipeline runs one or more steps.

A pass looks like: "Pipelines" and "pipeline" are translated the same way.

Purpose: Tests Q5. The same term appears inside a link, inside a bold label, and in plain text. If the glossary matches only plain text, the first two drift from the third.

Setup: Add "Release Notes Summary" to the Sandbox glossary before scoring, if it is not there already.

Source

Go to Release Notes Summary to understand how the 30-day rollup is built.

In the integrations list, select Release Notes Summary, then click Regenerate now.

Release Notes Summary reads the last 30 days of release notes for every module.

A pass looks like: "Release Notes Summary" follows the glossary in all three sentences. If the glossary also holds a full-sentence entry for any sentence on this page, record which one, and whether it matched.

JA-11: The same sentence in different kinds of block

Purpose: Tests Q4. The same instruction appears in a paragraph, a bulleted list, a numbered step, a table cell, and a hint. If the Translation Instructions apply equally to every kind of block, all five translate the same way.

Source

Click Request access to open the request form.

The same step as a bulleted list item:

  • Click Request access to open the request form.

The same step as a numbered step:

  1. Click Request access to open the request form.

The same step in a table cell:

Step
Action

1

Click Request access to open the request form.

The same step in a hint:

Request access to a gated feature

Click Request access to open the request form.

A pass looks like: All five translations match each other and score the same as the first sentence in JA-03.

JA-12: Check that the end of the instructions is applied

Purpose: Tests Q4. If the Translation Instructions have a length limit, the rules at the end are the ones dropped.

Setup: Add one last line to the end of the Sandbox Translation Instructions. The line maps the English phrase "canary check" to a fixed Japanese phrase the language owner chooses. This example means nothing until that line is in place.

Source

This sentence is a canary check for the Translation Instructions.

A pass looks like: The chosen Japanese phrase appears in the translation. If it does not, move the same line to the start of the instructions and check again. If it works at the start but not at the end, the instructions are being cut short.

JA-13: Baseline that must not slip back

Purpose: Guards what already works: negation, contrast, inline identifiers, file paths, a URL, and a code block. Any failure here after a change to the glossary or instructions means that change made things worse.

Source

Do not delete the harness-delegate namespace while a deployment is running. Instead, scale the delegate down to zero, then edit /opt/harness/delegate/config.yaml. To check the result, sign in at https://app.harness.io.

A pass looks like: "Do not" and "Instead" keep their meaning. The namespace, the file path, the URL, and the whole code block are unchanged.

Next steps

Use the following pages alongside this one:

  • Japanese: Go to the Japanese overview to review the five checks, the score scale, and the open questions.

  • Release Notes Summaries: Go to the generated release notes page to compare its Japanese output with JA-07.

Last updated

Was this helpful?