How to implement localization in Swift UI
When you look at documentation for Text you can see that it takes LocalizedStringKey not a String into its initializer: init(_ key: LocalizedStringKey, tableName: String? = nil, bundle: Bundle? = nil, comment: StaticString? = nil) It makes localizing very straightforward. All you have to do is: create a new file of type “Strings File”, call … Read more