---
title: "Verify long translations keep destructive choices distinct"
description: "Exercise a localized sandbox confirmation with long translated labels, verifying that the safe and destructive choices remain readable and correctly bound."
canonical_url: "https://vostride.com/agent-library/localization/long-translation-confirmation.md"
md_url: "https://vostride.com/agent-library/localization/long-translation-confirmation.md"
content_kind: "recipe"
topic: "localization"
---

# Verify long translations keep destructive choices distinct

Exercise a localized sandbox confirmation with long translated labels, verifying that the safe and destructive choices remain readable and correctly bound.

## Risk

Expanded labels can overlap or truncate until two choices become indistinguishable. Use a reversible sandbox deletion and an independent state oracle to prove that cancel and confirm retain their intended semantics.

## Fixtures

- An owned sandbox item manager in a supported locale whose approved delete-confirmation strings are substantially longer than the default language.
- A narrow supported browser viewport and a disposable item with a unique identifier and a reversible trash state.
- A read-only item oracle plus approved localized wording for the dialog title, explanatory message, Cancel, and Move to trash actions.

## Steps

1. Open the delete confirmation for the fixture item and verify its full identity and approved consequence text are readable at the prepared viewport.
2. Verify Cancel and Move to trash are separately reachable and distinguishable, then choose Cancel and verify the item remains active.
3. Inspect the independent item oracle and verify cancellation created no trash marker or deletion event.
4. Open the confirmation again, choose the explicit Move to trash action, and verify the item appears in the trash view with its original identifier.
5. Reload the active and trash views and verify the item is absent from active results and present once in trash; compare the independent state oracle.

## Expected results

- The long localized message preserves the item identity and action consequences.
- Cancel leaves the item unchanged in persistent state.
- Confirm moves exactly the intended item to the documented reversible trash state.

## False-pass traps

- A screenshot of the dialog does not prove overlapping controls activate the intended actions.
- Truncated labels can appear distinct until the meaningful final word is hidden.

## Cleanup

- Restore the item from sandbox trash and reset viewport and locale preferences.

## Use with agent-qa

Adapt this test design to your application's acceptance criteria and configured target using the [recipe execution guide](/agent-library/software-factory/turn-a-recipe-into-an-agent-qa-test.md). External fixture setup and non-UI checks require your own supported hooks or test tooling. Validate the authored test, execute it, and inspect the completed evidence; this recipe is not a recorded test result.

## References

- [agent-qa first test](/docs/agent-qa/guides/first-test.md)
- [agent-qa hooks](/docs/agent-qa/guides/hooks.md)
- [agent-qa test](/docs/agent-qa/configuration/test.md)

- [Localization QA recipes](/agent-library/localization.md)
- [Software factory QA library](/agent-library.md)
