XCode localization via CLI should support individual targets
| Originator: | smeger.o.spiff | ||
| Number: | rdar://20828847 | Date Originated: | May 5, 2015 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | XCode Version 6.3.1 (6D1002) |
| Classification: | Reproducible: | Always |
As mobile apps continue to grow, entire projects may no longer be a granular enough level for localization. Our project, specifically, would benefit greatly from being able to limit localization to individual targets within a project. I suggest adding a "target" flag to the "xcodebuild -exportLocalizations" command line: xcodebuild -exportLocalizations -localizationPath <dirpath> -project <projectname> -target <targetname> [[-exportLanguage <targetlanguage>]] In this example, the "-target <targetname>" portion has been added. If specified, it would limit the action to files included within the specified target rather than to all files included in the project. Similarly, there should be a command line method of ingesting updated localization XLIFF files. There is not currently an "xcodebuild -importLocalizations" flag.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Duplicate of 14160067