UITextView in storyboards never get localized
| Originator: | george | ||
| Number: | rdar://15555054 | Date Originated: | 27-Nov-2013 05:36 PM |
| Status: | Duplicate of 14891240 | Resolved: | NO |
| Product: | iOS SDK | Product Version: | 7.0.4 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: I'm localizing my app to run in other languages. My app is all storyboard based and using base localization. All the UI gets localized correctly on real time, with the exception of the static (non editable) UITextViews that never gets localized. Attached code gives context to the problem and reproduces the problem. Steps to Reproduce: Build a storyboard with UITextViews, localize it using base localization, and get angry, because your UITextViews never get localized. You have to do it in code manually. Expected Results: The static UITextViews should be localized. Actual Results: All the UI gets localized, with the exception of the UITextViews Regression: Always. Simulator, devices (tested on iPad 2/3), iPhone 4 and 5. All using iOS 7.0.4 and 7.1 beta 1. Notes: The reproducible issue code is attached.
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!
Apple closed my radar as being a duplicate of 14891240, that still remains open.
Have you check if inside the .strings file for the localized storyboard the xcode object id for the textfield match the one inside the .strings files?
Yes. They match. If you wish to try the code, please, feel free to do so. https://dl.dropboxusercontent.com/u/7373916/TextViewLocalization.zip
Best. George.