import type { NextRequest, NextResponse } from "next/server";

export function localeMiddleware(request: NextRequest): NextResponse | undefined {
  // Locale is now handled client-side via cookie (NEXT_LOCALE).
  // No URL-based locale routing required.
  return undefined;
}

export const config = {
  matcher: ["/((?!api|_next|_vercel|.*\\..*).*)"],
};
