Hi all, I'trying to manage with Xcode 11.4. Is it possible to add French language in localization settings? When my project is selected there isn't any language or localizations in general settings and in the editor tab Add Localization displays all the languages french, arabic... but the menu items are greyed out and not accessible for the current displayed source.
Thank you.
Thierry
Yes, XCode is only english.
It's harder for chinese people than for french !
If you have no storyboard, then you have all text created in code.
Then you need to use NSLocalized as here:
let ac = UIAlertController(title: NSLocalizedString("Operation Impossible", comment: "Scan failed"),
message: NSLocalizedString("This device cannot scan QR code ", comment: "Scan failed"),
preferredStyle: .alert)
Then, you will have to create files : Localizable.strings
I explain how to do in my doc.
If that's OK, don't forget to close the thread.