Technical notes on web development, DevOps, and AI integration.
1 article
The /en page kept showing Indonesian content while the build stayed green: synchronous page components that ignore params. The fix is obvious once you see it.
TL;DR: The /en pages rendered Indonesian because four page components were synchronous and returned hardcoded locale content, so they never touched params at all. The fix: make each page async, await params, map locales to content, and guard unknown locales with hasLocale plus a 404. Green builds only prove components render, not that locale content is correct.