Hard to localize XIBs: Strings file doesn't contain meaningful comments
| Originator: | nskboy | ||
| Number: | rdar://11680093 | Date Originated: | 15-Jun-2012 02:38 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.3.2/4E2002 |
| Classification: | Other Bug | Reproducible: | Always |
15-Jun-2012 02:38 PM Roman Busyghin: Summary: It is hard to localize XIB files because strings files generated by ibtool doesn't contain meaningful comments Steps to Reproduce: 1. Create a project with XIB file that contains some UI elements (e.g. buttons, labels) 2. Run "ibtool --export-strings-file file.strings file.nib" Expected Results: Generated strings file should contain meaningful comments for translators Actual Results: Generated strings file contains something like this: /* Class = "IBUIButton"; normalTitle = "Wave!"; ObjectID = "12"; */ "12.normalTitle" = "Wave!"; Regression: This is how ibtool works now and I'd like you to change this behavior. Notes: Our translators don't understand such a comment: Class = "IBUIButton"; normalTitle = "Wave!"; ObjectID = "12"; ibtool will fail to import strings file if we change that comment right before submitting strings file to translators.
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!