I'm trying to prepare my app to be passed off to translators for localization, but I'm running into some issues. I added the file "Localizable.strings" to my project, and I have "Use Base Internationalization" checked.
Looking at my app in Xcode, however, I don't see any "Base.lproj" or "en.lproj" or .lproj files for any language, though when I open my app in Finder I can see an "en.lproj" and an "es.lproj" folder.
I'm guessing this may be the reason that the genstrings utility isn't working properly for me. I have many calls in my code like self.navigationItem.title = NSLocalizedString(...)
, but when I execute genstrings *.swift
, nothing changes in Localizable.strings, and I still can't see any .lproj folders.
NSLocalizedString
in my files, then export it that's it? When I exported it now, I got an "en.xliff", presumably because I haven't added more languages, but no localizable.strings, which I thought was what is passed off to translators. – Vonvona