Some sort of NSVolumeFormatter for localizing volumetric quantities
| Originator: | me | ||
| Number: | rdar://21426372 | Date Originated: | 17-Jun-2015 08:32 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | Xcode-7 (7A120f) |
| Classification: | Security | Reproducible: | Always |
Summary: Foundation provides classes for creating localized strings from mass, length, and energy quantities, but not for volume. Steps to Reproduce: Try to localize a value from HealthKit, such as HKQuantity(unit: HKUnit.literUnitWithMetricPrefix(.Milli), doubleValue: 250.0) Expected Results: Localize the value to “250 milliliters” in en-US and “250 millilitres” in en-GB Actual Results: No way to localize this quantity
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!