Tips for localizing SwiftUI apps
I’ve recently localized my app Workout Shoes to German without ever touching the Localizable.strings file, and I’d like to share a few lessons learned:
Let Xcode extract all the phrases for you
Xcode has a menu command Product > Export Localizations…...
articles.danielkasaj.com2 min read
Kris Slazinski
Thank you for writing this article, Daniel! I learned something new. I didn't know about table and tableName! Now my xcloc files will be more organized 😀 Good point about different names for table and tableName parameters. NSLocalizedString also has a tableName parameter from what I am seeing now. So I also don't understand why the SwiftUI team decided to rename it to table for String(), but kept it as tableName for Text() 😅