Currently using Xcode 6.3
In our (open source) application we have two targets:
- Our main application 'Client'
- An action extension 'ShareTo'
Both targets have localized strings via NSLocalizedString()
.
When I "Export for Localization", I see one <file>
extension in the exported XLIFF file named Client/Localizable.strings
that contains the strings for both the main application and the app extension.
Same results when doing an export from the command line via xcodebuild
.
I am very sure that this export behavior changed over time: previously the strings from the app extension would end up in a separate Extensions/ShareTo/Localizable.strings
entry in the XLIFF file. Not combined in Client/Localizable.strings
.
So now I am wondering, is this new and correct behavior? Does this mean that app extensions lookup strings in their parent's bundle?