Storyboard localisation and subclasses don't work together
| Originator: | chriseidhof | ||
| Number: | rdar://14021389 | Date Originated: | May 30 |
| Status: | Open | Resolved: | No |
| Product: | iOS SDK | Product Version: | 6.1 |
| Classification: | Reproducible: | Yes |
Summary: When having custom subclasses of UIViews (even empty ones) localisations don't get picked up. Steps to Reproduce: I created an example project (see attachment). I took the following steps to do this: 1. Create new Project based on Storyboards 2. Added a label with the text "Hello" 3. Enable Base localization, added Dutch as a second language 4. Made sure the StoryBoard got translated as a .strings file 5. Translated the text to "Hallo" 6. Everything works as expected (so far) 7. Create an (empty) subclass of UILabel named CBELabel 8. Changed the class of the label in the storyboard to CBELabel Expected Results: The label should say "Hallo" Actual Results: The label says "Hello" Regression: None Notes: None
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!