Skip to content

feat(att): localize NSUserTrackingUsageDescription across 7 locales (#371) - #412

Merged
wei18 merged 1 commit into
mainfrom
feat/371-195-att-priming-copy
Jun 8, 2026
Merged

wei18 merged 1 commit into
mainfrom
feat/371-195-att-priming-copy

Conversation

@wei18

@wei18 wei18 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Partial #371: localizes the ATT system-dialog usage string (Path B framing — 'ads relevant, not a profile; decline still works, or remove ads') across all 7 locales via new InfoPlist.xcstrings for both apps, wired into Project.swift; English literal kept as base fallback; test-fixture AppInfo.plists synced. Validated: 7/7 locales, 0 placeholders.

Deliberately NOT included (needs product decisions — see impl-notes + the F1-F4 below, brought to discussion): the priming-timing rewire (#371 part 1 — ATT currently fires at COLD LAUNCH, violating design.md §How.4 'after Home is seen') and the pre-prompt screen (#195 — copy drafted, view not built). #371 + #195 stay OPEN.

Includes meetings/2026-06-08_371-195-att-priming-copy.impl-notes.md capturing the assessment + drafted pre-prompt copy.

…priming proposal (#371, #195)

Step 0 finding: the ATT system dialog currently fires at cold launch via
AppComposition.bootMonetization() (.onAppear → UMP→ATT→AdMob), which violates
design.md §How.4 ("prompt only after the user has seen Home"). No priming
pre-prompt view exists. The usage string was an English-only Info.plist literal
in both apps. Both Sudoku and Minesweeper request ATT today.

Implemented (clear/safe):
- Add App/Sudoku/Resources/InfoPlist.xcstrings + App/Minesweeper/Resources/
  InfoPlist.xcstrings, each localizing NSUserTrackingUsageDescription to all 7
  project locales (en, zh-Hant, zh-Hans, ja, ko, es, th). Path B framing:
  "ad relevance, not a profile; decline still works, or remove ads".
- Wire both catalogs into Project.swift resources.
- Refine the English Info.plist literal (base/fallback) to match the catalog en
  value; sync the two AppInfo.plist test fixtures (verbatim-copy contract).

Proposed (NOT implemented — flagged for Leader/user):
- Priming trigger timing (cold-launch vs post-Home vs first-ad-context vs
  post-first-game) — needs a new priming view + boot-order split; product
  decision F1.
- Whether Minesweeper prompts ATT at all (F2).
- Final copy tone/wording (F3); UMP-stays-early-while-ATT-defers (F4).
- Pre-prompt screen copy drafted (en + zh-Hant) in the impl-notes; not yet
  added to a catalog since no renderer/view exists.

L10n gate (mise run scan:l10n) passes; new InfoPlist catalogs hand-verified
7/7 locales, 0 placeholders, valid JSON. No Swift logic changed.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@wei18
wei18 merged commit 05e2c2c into main Jun 8, 2026
4 checks passed
@wei18
wei18 deleted the feat/371-195-att-priming-copy branch June 8, 2026 15:27
wei18 added a commit that referenced this pull request Jun 15, 2026
…le branches (#498)

Rescues content that was authored on stale remote branches but never landed on
main, before deleting those branches (branch triage, 2026-06-15):
- docs/v2/att-permission-ux-proposal.md (305 lines) — ATT permission UX design
  doc from docs/att-permission-ux-proposal-195 (the #412/#417 feature shipped but
  this design record never merged)
- meetings/2026-05-26_licenseplist-integration.md
- meetings/2026-05-26_module-split-proposal.md
- meetings/2026-05-26_foundations-backlog-3items.impl-notes.md
  (three meeting/decision records from wip/licenseplist-preflight-v1)

Verbatim restores (git show <branch>:<path>); no content edits. Discarded from
those branches per decision: generate-acknowledgements.sh (superseded by the
gen:acknowledgements mise task) and the stale .mise.toml delta (final form
already on main); xiaohongshu.md draft dropped per user.

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant