# General Translation Knowledge Base: How do I translate gendered text in an app?
URL: https://generaltranslation.com/en-US/kb/translate-gendered-text.mdx
Docs index: https://generaltranslation.com/llms.txt
Description: Many languages change verbs, adjectives, and pronouns to match a person's gender where English doesn't, so one translated string can be wrong for many users. Write each variant as a full sentence with a select (ICU select, or Branch in General Translation's React libraries), keep a neutral fallback, and only use gender a user has chosen to give you.
Category: Translation
Last updated: 2026-11-23
Authors: Kevin Wu
Published: 2026-11-23

English marks gender in a few pronouns (he, she, they) and almost nowhere else, so English strings rarely look gendered. "Are you sure?" and "Alex updated the profile" read the same for everyone. In many other languages they don't: the adjective, the verb, or the word for "you" changes with the gender of the person involved. A translator given one English string has to pick one form, and the app is then grammatically wrong for everyone else.

## Where gender shows up in translation

Gender appears in three different places, and each needs a different fix:

| Whose gender | English | Where it changes | Example |
| --- | --- | --- | --- |
| The reader ("you") | "Are you sure?" | Adjectives and participles in French and Spanish; "you" itself and its verbs in Arabic and Hebrew | Spanish: ¿Estás seguro? (m) / ¿Estás segura? (f) |
| A person mentioned in the text | "Alex updated the profile" | Past-tense verbs in Russian and Polish; pronouns and adjectives in most gendered languages | Russian: Алекс обновил (m) / Алекс обновила (f) |
| A thing (grammatical gender of a noun) | "New file", "New page" | Adjectives and articles agree with the noun | French: Nouveau fichier / Nouvelle page |

The third kind isn't about people at all. It breaks code that builds strings from pieces, like `` `New ${itemType}` ``, because the adjective has to agree with a noun the translator never sees. Give each combination its own complete string. (See [How should I name i18n translation keys?](/kb/i18n-key-naming)).

## Option 1: write neutral text first

The cheapest fix is a sentence that doesn't need gender. In English, "Welcome back, Alex" is already neutral, and a good translator can often find a neutral form in the target language too: Spanish "Te damos la bienvenida" avoids the gendered "Bienvenido/Bienvenida," and "¿Quieres continuar?" replaces "¿Estás seguro?"

Neutral rewrites have limits. Some languages have no natural neutral form for a given sentence, and forced neutral phrasing can sound stiff. Tell translators which strings address the reader so they can choose, and treat the remaining cases with a select.

## Option 2: a select with full-sentence variants

When the grammar has to change, pass the gender as a value and give a complete sentence for each case. [ICU message format](/kb/icu-message-format) has a `select` argument for this:

```text
{gender, select,
  female {She updated her profile}
  male {He updated his profile}
  other {They updated their profile}
}
```

`other` is required and is the fallback for every value you didn't list, including "not specified." Write it as the neutral version.

Each branch is a full sentence, not a fragment. A translator sees all three, writes all three in the target language, and can change any word in each, including words that are identical across branches in English. That is the difference from code like `` `${pronoun} updated ${possessive} profile` ``, which can't express Russian's change to the verb.

A select also works for the reader's gender. Spanish needs it for "Are you sure?" even though the English branches are identical:

```text
{readerGender, select,
  female {Are you sure?}
  male {Are you sure?}
  other {Are you sure?}
}
```

That looks odd in English, which is why it is worth a `$context` note or a comment telling translators that the branches exist for languages that inflect for the reader.

## Option 3: platform support for the reader's gender

Android 14 added a [Grammatical Inflection API](https://developer.android.com/about/versions/14/features/grammatical-inflection) for text addressed to the user. After asking the user, the app calls `setRequestedApplicationGrammaticalGender()` on [`GrammaticalInflectionManager`](https://developer.android.com/reference/android/app/GrammaticalInflectionManager), and Android picks string resources marked feminine, masculine, or neutral. The setting persists across restarts. For text about someone other than the user, Android's guide points back to ICU select.

## Where the gender value comes from

Only use a gender the person chose to give you, such as pronouns in a profile or a "How should we address you?" setting with a "prefer not to say" option. Don't guess it from a name, a photo, or a title: names don't reliably indicate gender across cultures, a wrong guess misgenders a real person, and gender is personal data you should only collect for a reason. When the value is missing, the neutral `other` branch renders, so the app is never stuck.

## Translating gendered text with General Translation

In General Translation's React libraries (`gt-react`, `gt-next`, `gt-react-native`), the [`<Branch>`](/docs/react/reference/components/branch) component is a select for JSX. Inside [`<T>`](/docs/react/reference/components/t), every branch is translated as part of one sentence, and `children` is the fallback when the value doesn't match:

```tsx
import { T, Branch, Var } from 'gt-next';

export function ActivityItem({ actor }) {
  return (
    <T>
      <Branch
        branch={actor.pronouns}
        she={<p><Var>{actor.name}</Var> updated her profile.</p>}
        he={<p><Var>{actor.name}</Var> updated his profile.</p>}
      >
        {/* Neutral fallback for "they", unset, or any other value */}
        <p><Var>{actor.name}</Var> updated their profile.</p>
      </Branch>
    </T>
  );
}
```

For strings outside JSX, [`useGT`](/docs/react/reference/hooks/use-gt) and [`getGT`](/docs/react/nextjs/reference/functions/get-gt) accept ICU message syntax, so the `select` message above works as a translatable string, and the [`$context`](/docs/react/reference/types/inline-translation-options#context) option can tell the translator that a string addresses the reader:

```tsx
const gt = useGT();

gt('{readerGender, select, female {Are you sure?} male {Are you sure?} other {Are you sure?}}', {
  readerGender: user.addressAs ?? 'other',
  $context: 'Confirmation dialog addressed to the signed-in user',
});
```

Because the CLI and translation service see the whole [`<T>`](/docs/react/reference/components/t) block or message, they translate every branch with the same source context. Values such as `actor.name` stay variables and are never translated. (See [How do I translate conditional text in JSX?](/kb/translate-conditional-jsx) for how [`<Branch>`](/docs/react/reference/components/branch) compares with a ternary).

## Test it

Gender bugs are invisible in English, so test the translated app. Render each branch in at least one language that inflects for it (Spanish or French for the reader, Russian or Polish for past-tense verbs, Arabic or Hebrew for "you"), and include the fallback case with no gender set.

## Key takeaways

- Gender changes adjectives, verbs, and even "you" in many languages, so one English string can need several translations.
- Prefer neutral wording, then use a select with a full sentence per branch and a neutral `other` fallback.
- Build each noun combination as its own string; concatenation can't handle grammatical gender.
- Only use gender a person chose to share, never one inferred from a name.
- In `gt-react` and `gt-next`, [`<Branch>`](/docs/react/reference/components/branch) inside [`<T>`](/docs/react/reference/components/t) translates every variant as one unit.

## Related questions

- [How do I translate conditional text in JSX?](https://generaltranslation.com/en-US/kb/translate-conditional-jsx.mdx): Keep the sentence whole and translate every version of it, because a ternary splits it into fragments that lose their meaning and their place in each language's word order. General Translation does this with `<Branch>` inside `<T>`, which translates the sentence as one unit.
- [What is ICU message format?](https://generaltranslation.com/en-US/kb/icu-message-format.mdx): ICU message format is a syntax for one translatable string that holds variables, plurals, select choices, and ordinals, such as {count, plural, one {# file} other {# files}}. Each language keeps the CLDR plural categories it needs: English uses one and other, while Polish adds few and many.
- [How should I name i18n translation keys?](https://generaltranslation.com/en-US/kb/i18n-key-naming.mdx): Name keys by where text appears and what it means, such as checkout.summary.title, not by its English wording. Give each distinct use its own key, even when the English matches: German translates the button Open as Öffnen and the status Open as Offen.
- [How do I handle plurals in React?](https://generaltranslation.com/en-US/kb/how-to-handle-plurals-in-react.mdx): Handle plurals in React by giving each language one sentence per plural form and picking it with that language's plural rules, since English has 2 forms, Russian has 4, and Arabic has 6. General Translation's `<Plural>` component in gt-react and gt-next takes your source forms, and General Translation generates the forms each target language needs.
- [How do I give AI translation enough context for software strings?](https://generaltranslation.com/en-US/kb/ai-translation-context.mdx): Translate complete messages with meaning notes, placeholder roles, length limits, and shared terminology. General Translation's CLI extracts marked JSX as a structured block and carries context notes into generation. For existing JSON and YAML catalogs, keyed metadata supplies per-string instructions. Context Groups apply your Glossary and Custom Prompts across assigned projects, and reviewers correct the output in the Dashboard.

## Previous and next questions

- Previous question: [How do I format "3 days ago" in JavaScript?](https://generaltranslation.com/en-US/kb/relative-time-format.mdx)
- Next question: [How do I translate Next.js Server Components?](https://generaltranslation.com/en-US/kb/translate-nextjs-server-components.mdx)

## Sitemap

See the [Knowledge Base sitemap](https://generaltranslation.com/en-US/kb/sitemap.md) for every article.
