<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Translation",
  "identifier" : "/documentation/Translation/TranslationSession/Response/attributedTargetText",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Translation"
    ],
    "preciseIdentifier" : "s:11Translation0A7SessionC8ResponseV20attributedTargetText10Foundation16AttributedStringVSgvp"
  },
  "title" : "attributedTargetText"
}
-->

# attributedTargetText

The translated formatted text.

```
let attributedTargetText: AttributedString?
```

## Discussion

This property contains the translated text with formatting and defined
attributes preserved and aligned from the source text.

The framework makes a best effort to preserve attributes like accessibility instructions and time
ranges, aligning them to the corresponding words in the target language.

> Note: The framework preserves but doesn’t modify attributes. To use the correct
> language after translation, update any attributes that need to reflect the target language, such
> as the language modifier for VoiceOver.

For examples of translating attributed source text, see [`attributedSourceText`](/documentation/Translation/TranslationSession/Request/attributedSourceText).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)