<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEResponderEditActions/transliterateChinese(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(pl)BEResponderEditActions(im)transliterateChinese:"
  },
  "title" : "transliterateChinese(_:)"
}
-->

# transliterateChinese(_:)

Converts the selected text between traditional and simplified Chinese.

```
optional func transliterateChinese(_ sender: Any?)
```

## Discussion

To invoke the standard system behavior for transliterating Chinese text, call [`transliterateChinese(forText:)`](/documentation/BrowserEngineKit/BETextInteraction/transliterateChinese(forText:)) in your implementation of this method.

When you change the selected text in your implementation of this method, notify the system by calling [`selectionWillChange(for:)`](/documentation/BrowserEngineKit/BETextInputDelegate/selectionWillChange(for:)) and [`selectionDidChange(for:)`](/documentation/BrowserEngineKit/BETextInputDelegate/selectionDidChange(for:)).

---

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)