i18n · 2026 · Jasa
One dictionary, five languages
The site comes in Chinese, English, Japanese, Spanish and Korean. Every language version is built from one dictionary, so one missing line stopped forty pages at once.
Each page is written once, in Chinese
The body text of the site is written only in Chinese. The English lives in a dictionary: the key is the Chinese sentence, the value is its English. Japanese, Spanish and Korean each have their own dictionary, keyed by the English. When you open a page in English, a script looks up every piece of text.
That way there is only one page to maintain. But search engines don’t see text swapped in by a script, so every page also gets a static language version with its own address.
Why one missing line holds back the whole page
Building language versions follows one rule: if any piece of Chinese on a page has no English, that page is not built. Better no page than one that mixes Chinese and English.
One day I noticed that none of the language versions had been updated in a while. The cause was a label on the menu button meant for screen readers: “Menu and display settings”. On the live page another script translated it, but the dictionary didn’t have it. Forty pages carry that button, so forty pages got stuck together.
I added that one line of English, filled in twenty-odd gaps each in Japanese, Spanish and Korean, and rebuilt forty pages in four languages in a single release.
What I took away
- Invisible text is still text. Screen reader labels, image descriptions and the title in the browser tab all need translating.
- Better not to ship than to ship half. A missing page is easier to notice and easier to fix than a page that mixes languages.
- Let the admin check for me. Now every time I publish or edit an article, the admin rebuilds the four language versions and lists anything missing in the draft.
