# General Translation React SDKs (gt-react, gt-next): getRegion URL: https://generaltranslation.com/en-GB/docs/react/nextjs/reference/functions/get-region.mdx --- title: getRegion description: Read the current Next.js App Router request region with General Translation. API reference for getRegion. --- The `getRegion` function returns the region associated with the current App Router request. Import it from `gt-next/server` in async components and other server code. `getRegion` is server-only and does not work with the Pages Router. ## Overview [#overview] ```tsx import { getRegion } from 'gt-next/server'; const region = await getRegion(); // 'US' or undefined ``` ## Returns [#returns] **Type** `Promise` A promise resolving to an ISO 3166 region code, or `undefined` when no region is set. ## Example [#example] ```tsx title="app/account/page.tsx" import { getRegion } from 'gt-next/server'; export default async function AccountPage() { const region = await getRegion(); return

Region: {region ?? 'Not set'}

; } ```