# Localization Testing Mode

This document defines the localization testing mode for
`TODOS.phase-72.72.11.2.14`. The mode cycles through all locales rapidly and
takes a screenshot of each localized screen in every language. Its automation
goal is to cycle through all locales and screenshot each screen with
deterministic output paths.

The tracked contract is
`V2/ue/Content/Localization/V2/LocalizationTestingMode_V2_Contract.json`. The
generated capture plan is
`V2/ue/Content/Localization/V2/Testing/LocalizationTestingModePlan_V2.json`,
with summary coverage in
`V2/ue/Content/Localization/V2/Testing/LocalizationTestingModeReport_V2.json`.

## Capture Mode

`V2LocalizationTestingModeCapture` is the native capture commandlet named by the
plan. The plan reuses localized screen targets from
`ContextScreenshotManifest_V2.json`, then creates one capture job per launch
locale and per localized screen.

Each job records:

- locale and screen ID;
- `FInternationalization::SetCurrentCulture` as the culture switch API;
- output path under `V2/ue/Saved/LocalizationTesting/<locale>/`;
- `-FastLocaleSwitch=1` for rapid locale cycling;
- `-ScreenshotEveryScreen=1` so every localized screen has evidence.

The generator restores the source locale after the run, waits two Slate ticks
before capture, and bounds each locale pass to three seconds in the plan.

## Validation

`V2/ue/Tools/generate-v2-localization-testing-mode.py` builds the deterministic
locale/screen matrix. `V2/ue/Tools/check-v2-localization-testing-mode.py`
validates that all launch locales are covered, every localized screen gets a
screenshot job in each language, fast switching is enabled, deterministic output
is current, CI/Horde wiring exists, and the phase-72 checklist is updated.
