German VoiceOver says "millibars" instead of "megabytes"

In SwiftUI, iOS 18.1.1, Xcode 16.1, the following control:

Text(12345678, format: .byteCount(style: .binary))

displays text with MB (megabytes) unit, but German VoiceOver reads it as "millibars". I tried explicitly specify units with:

Text(12345678, format: .byteCount(style: .memory, allowedUnits: .mb))

but the result is the same (German VoiceOver still says "millibars").

Aside from creating own accessibility label, is there any way to go around that?

AFAIK, .mb is the correct unit for MegaBytes.

Did you try with .all instead, just to see what you get ?

And file a bug report.

I tried .all, and it for megabytes I still got VoiceOver with "millibars". Strangely, for gigabytes I got correct pronunciation: "gigabytes".

I will file bug report.

Feedback ID for this issue is: FB16004456

German VoiceOver says "millibars" instead of "megabytes"
 
 
Q