Localized string runtime attributes work in IB preview but not runtime on iOS
| Originator: | alek.astrom | ||
| Number: | rdar://24228343 | Date Originated: | 2016-01-18 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 7.2 |
| Classification: | Other Bug | Reproducible: | Always |
When using IBDesignable views with IBInspectable string attributes, you can choose to make them of the type "Localized String" which works well with base internationalization. That way, the runtime attributes end up in the strings files when using ibtool to generate them. Using the Interface Builder preview assistant editor, the correctly localized strings show for each localized language. But when running on an iOS device (or simulator), only the development language is loaded while other localized attributes (which are not user defined) work correctly.
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!