# V2 Continuous Localization CI

This document defines continuous localization CI for
`TODOS.phase-72.72.11.1.12`. The pipeline runs on commit to `main` and on pull
requests that touch V2 assets or the V2 workflow.

## Pipeline

`V2/ue/Tools/run-v2-continuous-localization-ci.py` reads
`V2/ue/Content/Localization/V2/CI/ContinuousLocalizationCI_Config_V2.json` and
writes
`V2/ue/Content/Localization/V2/CI/ContinuousLocalizationCI_RunPlan_V2.json`.

The run plan orders the localization workflow:

- extract strings from game data and code
- push source strings to the selected TMS
- pull completed translations into tracked locale files
- validate string lengths and run translation QA
- build localized assets with `V2BuildLocalizedAssets`

The generated plan is deterministic and defaults to dry-run-safe provider
payload generation. The localized asset build step records the Unreal commandlet
arguments so CI can execute it on hosts with Unreal available.

Run the generator after changing localization CI policy:

```bash
python3 V2/ue/Tools/run-v2-continuous-localization-ci.py
```

## Verification

Run this gate after changing the run plan, workflow trigger, docs, or Horde
wiring:

```bash
python3 V2/ue/Tools/check-v2-continuous-localization-ci.py
```

Required release gates:

- `localization-continuous-ci-contract`
- `localization-continuous-ci-config`
- `localization-continuous-ci-run-plan`
- `localization-continuous-ci-on-commit-trigger`
- `localization-continuous-ci-extract-step`
- `localization-continuous-ci-tms-sync`
- `localization-continuous-ci-localized-assets`
- `localization-continuous-ci-wired`
