@next/routing generates locale-prefixed regex for dynamic API routes, causing 404 when i18n is on
Dynamic API routes like /api/blog/[slug] become unreachable without a locale prefix when i18n is configured. The generated sourceRegex incorrectly requires a locale segment, while API routes should not be localized.
