skipsTranslation
TypeScriptget skipsTranslation(): AttributeScopes_TranslationAttributes_SkipTranslationAttributeSwift declarationlet skipsTranslation: AttributeScopes.TranslationAttributes.SkipTranslationAttributeAn attribute that marks portions of an attributed string to be excluded from translation. Use this to exclude specific text ranges within an ``Foundation/AttributedString`` from translation, such as proper nouns, brand names, technical terms, or other content that should remain unchanged across different languages. When translating formatted text, you can mark specific ranges to skip translation: ```swift var text = AttributedString("Welcome to Apple Park") let range = text.range(of: "Apple Park")! text[range].skipsTranslation = true ``` When translated the string, "Welcome to" changes to the target language, but "Apple Park" remains unchanged.