- Pages Router:
reloadOnPrerendernow actually reloads — the option was previously callingreloadResources()on the browser-side i18next instance returned byappWithTranslation(which has no FS backend and is oftennullduringgetStaticProps/getServerSideProps). It now reloads on the disk-backed node-side instance, scoped to exactly the locales × namespaces being shipped, so edits to locale files appear without restartingnext dev. Gated behindNODE_ENV !== 'production'to keep custom HTTP/locize/chained backends from being refetched on every prerender call. #2123 - App Router:
reloadOnPrerenderis now wired up — previously declared in the config types but never consumed. Same dev-only semantics as Pages Router: refetches translations from the configured backend (default FS oruse-provided custom backend) before each render in development, deduplicated acrossgetTcalls within a single render via React'scache(). No effect in production builds. Note: when using a dynamicimport()-basedresourceLoader, hot-reload is bundler-dependent and may stall after the first edit because Turbopack/Webpack cache resolved JSON modules across HMR cycles — see the README "Dev tip" for the dev/prod-split pattern that gives full hot-reload.