<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributeScopes/TranslationAttributes",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation15AttributeScopesO11TranslationE0D10AttributesV"
  },
  "title" : "AttributeScopes.TranslationAttributes"
}
-->

# AttributeScopes.TranslationAttributes

A scope that defines translation-specific properties on attributed strings.

```
struct TranslationAttributes
```

## Overview

Use this scope to access translation attributes when working with
[`AttributedString`](/documentation/Foundation/AttributedString) instances.

## Topics

### Handling translation behavior

[`let skipsTranslation: AttributeScopes.TranslationAttributes.SkipTranslationAttribute`](/documentation/Foundation/AttributeScopes/TranslationAttributes/skipsTranslation)

An attribute that marks portions of an attributed string to be excluded from translation.

[`enum SkipTranslationAttribute`](/documentation/Foundation/AttributeScopes/TranslationAttributes/SkipTranslationAttribute)

The attribute key for skipping translation.

## Relationships

### Conforms To

[`EncodingConfigurationProviding`](/documentation/Foundation/EncodingConfigurationProviding)

[`DecodingConfigurationProviding`](/documentation/Foundation/DecodingConfigurationProviding)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`AttributeScope`](/documentation/Foundation/AttributeScope)

---

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)