Post

Replies

Boosts

Views

Activity

Comment on Inconsistency Between Translation API Language Identifiers and Foundation Locale
Thanks! I am trying to translate a text string once user clicked a button. I designed my flow as below: try to find user device language -> check if this is supported by the Translation -> if yes then build the translation configuration and start; if not then alert. My device is simplified Chinese, region is the Netherlands (language code: zh, script: Hans, region: NL). Thus it is not possible to directly check if this is supported by the Translation
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’25