From Hardcoded Strings to an i18n PR: How Babelize Works
A typical Next.js page looks like this: Every file is parsed with @babel/parser (JSX and TypeScript plugins, with error recovery so one broken file doesn't stop the run). Then visitors walk the tree looking for JSX text, whole…