Skip to content

One portfolio, two hiring cultures

i18nNext.jsJapan

I interview in two hiring cultures. A US recruiter wants a one-page résumé and a project list; a Japanese recruiter expects a 履歴書 (the standardized CV) and a 職務経歴書 (the detailed work history), and reads the site in Japanese. This portfolio treats both as first-class, and most of the interesting decisions follow from that.

Locale fallback that never 404s

Every piece of content has EN and JA fields, but JA is optional. The rule that keeps the site whole: a missing translation falls back to English visibly — the page renders EN content with a small "English only" indicator instead of hiding the entry or 404ing.

export function pickLocaleField(en: string | null, ja: string | null, locale: Locale) {
  if (locale === 'ja' && ja) return { value: ja, fallback: false };
  return { value: en, fallback: locale === 'ja' };
}

That one shape decision means I can publish in English first and translate at my own pace, without ever shipping a broken Japanese page.

Typography is part of i18n

Kanji in a Latin-first design needs two things. First, a font cascade that keeps Latin text in the UI face and reaches for Noto Sans JP only for CJK glyphs. Second, correct wrapping: Japanese has no spaces, so the stylesheet applies word-break: auto-phrase and line-break: strict to anything tagged lang="ja". The tagging matters even on the English site — 履歴書 appears as a document title on the EN résumé section, and it should render with the JP cascade there too.

Three documents, one section

The résumé section is honest about the two processes: a US résumé, the 履歴書, and the 職務経歴書 each get a card with a one-line description of who it's for — so a non-Japanese visitor learns what a rirekisho is, and a Japanese recruiter finds exactly the documents they expect, labelled in the terms they use. Slots I haven't uploaded yet say so instead of pretending.

The meta-lesson: internationalization isn't a translation layer you bolt on. It shaped the database schema, the typography, and even what sections exist.