After the official launch of the Japanese version (ja-JP) of A Tour of Go, I did not immediately start preparing for the third language.
The previous article recorded the final results of the first version of ja-JP: 103 lesson Pages, 19 eligible Examples, totaling 122 TranslationUnits. After completing automatic validation, Quality Check, Final Review, promotion, production deployment, and browser acceptance, the second community language finally ran in the production environment.
However, it was precisely after completing the entire second language that several previously unobvious issues surfaced.
These issues were no longer about “whether the Japanese translation was good,” but rather:
If I were to add a third language right now, would I still have to re-analyze the project architecture, development approach, language assets, translation workflow, quality review, build and release, and production deployment?
If the answer remained “yes,” then although the project already supported multiple languages, it had not yet truly established an easily repeatable multilingual expansion process.
Therefore, before continuing with the third language, I spent a cycle formalizing the pitfalls encountered during the ja-JP launch into official documentation.
After ja-JP was completed, I did not immediately start the third language
This round of consolidation ultimately resulted in a new commit:
9758458
docs: Establish a standardized process for adding new languages
This time, a total of 7 documentation files were modified, the most important being the new additions:
docs/NEW_LOCALE_RUNBOOK.md
docs/LOCALE_SURFACE_REVIEW.mdAlso adjusted were:
AGENTS.md
LANGUAGES.md
docs/PRODUCTION_RUNBOOK.md
docs/TRANSLATION_QUALITY_REVIEW.md
docs/TRANSLATION_TERMINOLOGY.mdThis time, the already stabilized TranslationUnit workflow was not redesigned.
Page remains a complete present.Section.
Example remains a complete Go example file containing natural language comments that are allowed to be translated.
Quality Check is still executed per TranslationUnit.
Final Review still enforces a strict A-only threshold.
What really needs to be solved this time is:
How to ensure that adding a new language, from initial development preparation all the way to final production, follows a predetermined path across all upstream and downstream stages, rather than re-exploring from scratch.
First issue: The entire process for adding a new language still relies too heavily on re-analysis
After completing ja-JP, one of my most distinct impressions was that although adding a new language already had many existing capabilities ready for reuse, the entire process still contained numerous points requiring ad-hoc re-analysis and confirmation.
From the very beginning of preparing ja-JP to the final official launch, almost every stage—development, translation, quality review, build, and production release—encountered situations where rules and boundaries needed to be re-determined.
For example, during the development and language asset preparation phase, the following needed to be re-confirmed:
- What configurations needed to be added for the new locale;
- What responsibilities
locale.json, the UI catalog, and article metadata each held; - On the homepage, lesson pages, and
/tour/list, which content belonged to TranslationUnits and which belonged to the common UI; - Whether the new language required template modifications;
- Which CSS, JavaScript, and images could be shared across languages;
- Which resources had to be generated independently for each locale;
- What information needed to be added to the language registry;
- How hostname, SEO identity, and runtime configuration should be associated with the locale.
Upon entering the translation phase, it was again necessary to confirm:
- At what stage the glossary should be established;
- What the scope of the glossary was;
- How Pages and Examples entered the formal TranslationUnit workflow;
- At what stage UI, homepage, and metadata should be localized;
- What automatic validation and language quality review were each responsible for.
During the quality review phase, it was further discovered that:
- All TranslationUnits achieving an A rating did not mean that all visible copy across the entire language site had undergone a complete review;
- Non-TranslationUnit content such as common UI, homepage,
/tour/list, runtime messages, and article metadata also required formal language quality review; - A complete source ↔ target language review and page acceptance in a real browser were two distinct stages.
Subsequently, the following still needed to be completed:
- promotion;
- projection / preview;
- production bundle;
- first-time production integration for the new language;
- CDN, TLS, DNS;
- Playground Origin;
- SEO;
- public network and real browser acceptance.
In other words, although the second language ultimately launched successfully, much of the knowledge throughout the process relied on previous operational experience, chat context, and ad-hoc analysis.
If the third language still required going through:
Re-understanding the locale architecture
→ Re-confirming development and language assets
→ Re-confirming glossary and UI boundaries
→ Re-confirming the TranslationUnit workflow
→ Re-confirming quality review scope
→ Re-confirming projection / preview
→ Re-confirming production integration
→ Final launchThen, although the project could already support multiple locales, it had not yet truly formed a stably repeatable multilingual expansion process.
Therefore, the goal of this standardization was to connect the entire lifecycle of adding a new language, from development to official launch:
New locale decision
→ Development and language asset preparation
→ glossary
→ UI / metadata
→ TranslationUnit translation
→ automatic validation
→ Quality Check / Final Review
→ promotion
→ projection / preview
→ Locale Surface Review
→ publish
→ First production deployment
→ Public network and real browser acceptanceWhen starting the third language in the future, I want to first enter this clearly defined formal path, rather than starting from project analysis all over again.
Adding NEW_LOCALE_RUNBOOK.md
So, this time I added:
docs/NEW_LOCALE_RUNBOOK.mdIt is defined as the high-level entry point for adding a new community language.

The high-level path for adding a new language is now clearly defined as:
locale / domain / CDN decision
→ locale glossary
→ locale configuration and common UI catalog
→ Homepage, navigation, language selector, and article metadata
→ TranslationUnit translation and automatic validation
→ Candidate Snapshot
→ Quality Check
→ Final Review
→ promotion
→ Complete projection / preview
→ Locale Surface Review
→ production publish
→ First production infrastructure and deployment
→ Origin server, public network, and browser launch acceptanceThis document does not re-implement every development, translation, review, and deployment stage; instead, it defines the complete execution sequence, stage entry points, and boundaries between stages.
It also does not duplicate the detailed translation specifications for TranslationUnits.
Once TranslationUnit translation actually begins, it still enters the existing formal documentation:
docs/TRANSLATION_WORKFLOW.md
docs/TRANSLATION_TASK_SPEC.md
docs/RETRANSLATION_RUNBOOK.md
docs/CODEX_TRANSLATION.mdThe new Runbook is responsible for answering:
“I want to add a new language. Where should I start, and in what order should I proceed all the way to production?”
When starting the third language in the future, I should not have to start by re-researching the entire repository.
Second issue: TranslationUnits were reviewed strictly, but the common UI lacked an equivalent review
During the ja-JP translation process, the quality review for TranslationUnits was already quite strict.
In the current formal process, a TranslationUnit goes through:
Translation
→ automatic validation
→ Candidate Snapshot
→ ChatGPT Quality Check
→ Final Review
→ promotionQuality Check requires all units to achieve an A.
Final Review also requires an A to be approved.
If a B, C, or D appears, the unit enters a new revision batch, rather than directly publishing a candidate with language issues.
But after completing ja-JP, I realized:
Reviewing lesson TranslationUnits meticulously does not mean that all text across the entire Japanese website has undergone the same level of review.
This is because there is a category of content that inherently does not belong to TranslationUnits.
For example:
- Homepage;
- Common UI;
/tour/list;- Navigation;
- Language selector;
- Editor buttons;
- Run / Format / Reset;
- runtime message;
- article metadata;
- SEO visible copy.
Previously, these contents went through structural checks, actual browser checks, or manual confirmation during development, but they did not form a formal language quality gate clearly separated from the TranslationUnit Quality Review.
This was a significant gap exposed after the second language actually went live.
Adding Locale Surface Review
To address this, the following was added:
docs/LOCALE_SURFACE_REVIEW.mdAnd these contents were not forcibly pushed back into the TranslationUnit Quality Check.
Because they are inherently two different issues.
The new Locale Surface Review is divided into two stages.

The first stage is:
A. Locale-level language quality reviewThis stage is responsible for the complete language quality review of translatable assets outside of TranslationUnits.
For example, the common UI must read both:
internal/tour/ui/en.json
internal/tour/ui/<locale>.json
locales/<locale>/glossary.yamlThen, a complete source and target comparison is performed by message key.
It is no longer just:
Open the page and take a look
→ Seems to be all Japanese
→ No obvious English found
→ PassInstead, it requires actually checking:
- Whether it faithfully expresses the English source;
- Whether there are mistranslations;
- Whether there are omissions;
- Whether the technical meaning is accurate;
- Whether it adheres to the glossary;
- Whether the phrasing is natural;
- Whether there is any English that should not be retained;
- Whether explanations not present in the source have been added;
- Whether rich text, variables, and link text are still correct when combined.
This is actually consistent with the principles of the TranslationUnit Quality Review, only the object of review is different.
Browser acceptance cannot replace language quality review
The second stage of the Locale Surface Review is:
B. Rendered surface acceptanceThis stage is responsible for the actual results presented to the user after the complete page is assembled.
Including:
- Homepage;
/tour/;/tour/list;- Navigation;
- Language selector;
- Editor;
- Run / Format / Reset;
- runtime message;
- SEO;
- Desktop;
- Mobile.
These two stages cannot replace each other.
That is to say:
Complete source ↔ target language quality review
≠
Looking at a few pages in the browserThe reverse is also true:
Language text review passed
≠
Actual page rendering will definitely be normalA piece of Japanese text might be translated completely correctly, but it might overflow after being placed in a button.
A UI catalog might have no language quality issues for any item, but in a real page, an incorrect locale, an old hostname, or layout issues might appear.
Therefore, when adding a new language in the future, both stages must be executed.
Surface Review also begins to retain formal evidence
This time, a fixed review record was also defined for the Locale Surface Review:
data/locale-surface-reviews/<locale>/<review-id>.mdIt does not use the A/B/C/D ratings of TranslationUnits.
It only uses:
passed
failedAnd it records at least:
locale
reviewed commit / release
glossary identity
UI / metadata identity
language quality review result
preview acceptance result
production verification result
reviewer
date
decision
issuesDuring the first launch, the language quality review and preview acceptance must be completed before publishing.
After actually deploying to production, the public network verification result is written into the same evidence.
Only after the production verification is also completed can the final result be formed:
decision = passedThis way, it will no longer rely on:
“I think I remember checking it back then.”
Third issue: First-time deployments and maintenance deployments were previously mixed too closely
Beyond development and quality review, the production phase also exposed issues of insufficient standardization.
During the launch of the second language, the term “deployment” actually encompassed two completely different types of work.
The first type was:
Establishing the production environment for a new locale for the first time.
It required handling:
hostname
CDN
data root
systemd service
loopback port
TLS
Nginx vhost
DNS
Playground Origin
deploy profile
SEO
production acceptanceThe second type was the normal maintenance thereafter:
Generate new release
→ deploy
→ health check
→ DoneIf these two scenarios are not clearly separated, then every maintenance deployment can easily lead to re-analyzing the entire server.
Solidifying the verified server baseline
This time, a verified server baseline was specifically added to PRODUCTION_RUNBOOK.md.

Including:
OneinStack
/root/oneinstack
Nginx vhost
/usr/local/nginx/conf/vhost/
SSL
/usr/local/nginx/conf/ssl/
acme.sh
Let's Encrypt + Cloudflare DNS API
Application data
/data/go-tour[-<locale>]/
Process management
systemd
service user
go-tour
Non-Chinese shared static assets
https://assets-go-dev.shuijingwanwq.com/These have all been verified in real production by zh-CN and ja-JP.
Therefore, the documentation now clearly states:
Unless a read-only check reveals that the production environment has actually changed, adding a new locale will no longer re-probe or redesign the entire server.
Of course, this does not mean that nothing is checked when deploying a new language.
The new locale must still confirm:
- No hostname conflict;
- No port conflict;
- No data root conflict;
- No service conflict;
- DNS and certificates are correct;
- Playground Origin is correct.
But this is “confirming the new locale parameters,” not “re-researching the entire server.”
First-time deployment and daily deployment are formally separated
The production process is now explicitly split into:
First production deployment for a new LocaleAnd:
Daily maintenance deployment for an existing LocaleThe first deployment requires completing the production profile and full infrastructure.
For locales already officially launched, daily release updates continue to use:
scripts/deploy-production.sh <release-dir>The deployment script automatically selects the formal profile based on the locale in release.json.
Daily maintenance should not re-investigate OneinStack, Nginx, acme.sh, systemd, and ports.
This should significantly reduce subsequent maintenance costs.
Fourth issue: What does “terminology consistency” mean?
After ja-JP went live, I noticed another very interesting detail.
On the Chinese site:
Go Playground
→ Go 语言演练场While on the Japanese site:
Go Playground
→ Go PlaygroundLooking only at the pages, it is easy to have a question:
Why was one language translated, but the other was not? Is the standard inconsistent?
So I directly checked the glossaries for both locales.

It turned out that the Chinese glossary originally clearly specified:
Go Playground: Go 语言演练场The Japanese glossary also clearly specified:
Go Playground: Go PlaygroundThat is to say, this was not actually a difference from random translation.
Both locales had formal decisions.
What truly needs to be unified is not:
All languages must use the same literal resultBut rather:
Each locale must have its own clear terminology decision
+
The entire site for the same locale adheres to this decisionDifferent languages can certainly make different choices based on their own linguistic conventions.
For example, for a certain name:
- Chinese might translate it;
- Japanese might keep it in English;
- Another language might adopt its own common localized name.
These are all acceptable.
What is truly unacceptable is:
Within the same ja-JP site, one place writes Go Playground, while another place temporarily translates it into a different Japanese name, and the glossary does not define this discrepancy.
Glossary no longer only constrains TranslationUnits
This is also a very important change after this round of documentation adjustments.
In the past, the glossary was already a formal model input for TranslationUnit translation.
Formal translation must read both:
manifest.json
manifest 中的全部 inputs/*
locales/<locale>/glossary.yamlBut now it is further clarified that:
the glossary is also the formal authoritative source of terminology for the entire locale.
Not only Pages and Examples must adhere to it.
These contents must also adhere to it:
- Common UI;
- Homepage;
/tour/list;- Navigation;
- Editor;
- runtime message;
- metadata;
- SEO visible copy.
Of course, the glossary can only determine “how a term should be handled.”
It cannot prove that an entire translation is definitely correct.
Therefore, a source ↔ target comparison must still be made in the Locale Surface Review.
The new process has been integrated into AGENTS.md
If I were to just write two documents, but still had to manually remind Codex to read them every time, the effect of “reducing re-analysis costs” would remain limited.
Therefore, this time I also modified the repository root’s:
AGENTS.md
Now, when a task involves:
Adding a new language
Establishing a new locale
Preparing for the first launch of a new language
Evaluating the completeness of a new localeCodex must first read:
docs/NEW_LOCALE_RUNBOOK.md
docs/LOCALE_SURFACE_REVIEW.mdAnd when actually entering TranslationUnit translation, it continues to read:
docs/TRANSLATION_WORKFLOW.md
docs/TRANSLATION_TASK_SPEC.md
docs/RETRANSLATION_RUNBOOK.md
docs/CODEX_TRANSLATION.md
manifest.json
All inputs/*
Target locale glossary.yamlThis is very important.
The new Runbook is only a high-level entry point and does not replace the formal translation specifications for TranslationUnits.
This way, the instructions given to Codex in the future will not need to become increasingly long.
Every time a new language is added, there should be no need to rewrite a set of dozens of prompts and manually copy all project rules again.
The more ideal approach should be:
Add <locale> according to the repository's formal specifications.Then, AGENTS.md will automatically navigate the task to the correct formal documentation.
The value of the second language is more than just having an additional Japanese site
Looking back at this round of ja-JP, I feel its greatest value is not just that it ultimately resulted in:
If there were only zh-CN, it would be easy to assume that the current architecture fully supported multiple languages.
But after actually adding the second language, many previously hidden assumptions were discovered:
- Development preparation for a new locale still required re-confirmation;
- The responsibility boundaries of language assets such as UI, metadata, and language registry were not centralized enough;
- SEO hostname previously defaulted to only the Chinese site;
- Playground Origin previously only considered the Chinese site;
- New language deployment still required re-analyzing the server;
- TranslationUnit Quality Review did not cover all common UI;
- The site-wide authoritative boundary of the glossary was not clear enough;
- “First launch” and “daily release” were not fully separated.
These issues were not imagined in design documents.
They were all exposed only after the second language was actually developed, translated, reviewed, and finally run.
Therefore, I prefer to view ja-JP as a true multilingual expansion validation.
The third language should validate “whether it can be replicated”, rather than continuing to explore
The project now has:
zh-CN
ja-JPWhat is truly worth validating for the next language has changed.
Previously, it was necessary to validate:
Can the project support a second language?Now, it is more appropriate to validate:
Following the existing Runbook,
can the third language be added noticeably faster and more stably?If, after starting the third language, it is still necessary to re-analyze:
- How to extend the locale architecture;
- What development and language assets need to be added;
- How to establish and use the glossary;
- How to handle UI and metadata;
- How TranslationUnits enter the formal workflow;
- How to review the language quality of non-TranslationUnit content;
- How to conduct projection / preview acceptance;
- How to integrate into production;
- How to extend the Playground;
- How to handle SEO;
Then this round of documentation consolidation is not truly successful.
And if next time we can directly follow:
NEW_LOCALE_RUNBOOK
→ Development and locale asset preparation
→ TranslationUnit workflow
→ Locale Surface Review
→ first production deploymentExecuting all the way through, then this project will truly begin to transform from “a constantly exploring multilingual project” into:
A set of engineering processes that can repeatedly scale languages.
Summary
After the official launch of the first version of ja-JP, I did not immediately start the third language, but rather first solidified the issues found during the second language process into project specifications.
This round ultimately resolved four main things:
- Adding a new language, from development preparation, language assets, TranslationUnit translation, quality review, projection to production deployment, no longer relies on re-analyzing the entire project, but instead uniformly enters the standardized process from
NEW_LOCALE_RUNBOOK.md; - An independent Locale Surface Review was added for non-TranslationUnit content, simultaneously distinguishing between complete language quality review and real page acceptance;
- Production was explicitly divided into first-time deployment for a new locale and daily maintenance deployment for an existing locale, and the verified server baseline was solidified;
- The glossary was further clarified from a formal input for TranslationUnits to the formal authoritative source of terminology for the entire locale.
At the same time, AGENTS.md has integrated these rules into Codex’s repository-level automatic navigation.
This means that the next time a new language is started, there should no longer be a need to write a long set of prompts, nor to re-research the entire project.
What the second language resolved was:
Whether a new community language site could truly be created.
And starting from the third language, what needs to be validated is:
From development, translation, review to production launch, whether this method can be stably repeated.
This is also the step I believe a multilingual project truly needs to cross to move from “supporting multiple languages” to “being able to continuously scale multiple languages”.

