# General Translation React SDKs (gt-react, gt-next): Tx URL: https://generaltranslation.com/en-US/docs/react/nextjs/reference/components/tx.mdx --- title: Tx description: Translate request-time JSX in Next.js App Router server components with General Translation. API reference for Tx. --- The `` component translates JSX at request time through the General Translation API. Use it for dynamic content that is not known at build time; use [``](/docs/react/reference/components/t) for static source content. `` is server-only and does not work with the Pages Router. ## Overview [#overview] ```tsx import { Tx } from 'gt-next/server'; Welcome back; ``` ## Props [#props] | Prop | Description | Type | Optional | Default | | --- | --- | --- | --- | --- | | `children` | JSX content to translate. | `ReactNode` | No | — | | `context` | Context that guides the translation. | `string` | Yes | — | | `maxChars` | Maximum length for the translated content. | `number` | Yes | — | | `locale` | Target locale override. | `string` | Yes | Current request locale | | `[variable]` | Named variable inserted into the translated content. | `ReactNode` | Yes | — | ## Returns [#returns] **Type** `Promise` ## Example [#example] ```tsx title="app/profile/page.tsx" import { Tx } from 'gt-next/server'; export default async function ProfilePage() { return Welcome back; } ```