Open UkoeHB opened 1 month ago
very interersting. what language settings do you use?
I'm on a MacBook Pro M1 v12.5.1, with English (US)
as my primary language.
Hm I am confused why this works on my MacBook m1 with primary English 😂
Maybe can use https://developer.apple.com/documentation/foundation/nsarray/1412852-firstobject
instead and then cast the Any
to string.
It could also be a bug with icrate::Foundation::NSString;
, some kind of versioning mismatch.
I will fork this later today and troubleshoot.
Hey I didn't end up figuring out the problem. While researching how other crates do it, I found sys-locale
, which is a more mature version of this crate that works on my system, so I decided to use that one in my project.
Crashes on Mac with
Great little crate btw, thanks for putting this together.