Next.js App Router - Localized Routes

I am using Next.js App Router and have created my ‘app\api\auth[auth0]\route.ts’. I also have a localized page I want my users to return to ‘app[locale]\account\page.tsx’ However I am struggling to set the returnTo path to include the locale. My code is:

export const GET = handleAuth({
  login: handleLogin({
    returnTo: '/account',
  }),
  signup: handleLogin({
    authorizationParams: {
      screen_hint: 'signup',
    },
    returnTo: '/account',
  }),
});

Any help would be appreciated