Translating a marketing page without duplicating it
The Spanish page existed, had a URL, showed up in hreflang - and every word was English. The fix that almost shipped was 130 duplicated lines waiting to drift.
Notes on the software, games, and music coming out of Imperfect Systems.
RSS feedThe Spanish page existed, had a URL, showed up in hreflang - and every word was English. The fix that almost shipped was 130 duplicated lines waiting to drift.
A split-view editor where translations share metadata but own their prose, a two-sha staleness model, and a formatting bug I copied from my own earlier code.
A status pill with shrink-0 and nowrap, a title with no min-w-0, and a flex row with no give anywhere - horizontal scroll at 320px, in two languages.
The visible label was fine; the accessibility label said '1 tracks.' And the clever inflection API would have shipped a silent Portuguese bug on the app's own minimum OS target.
Making shared-package post cards match the homepage's look without forking the component - and two 'failing' pages that were really a leftover process holding a port.
Page 11 of 53