News for hackers. Stuff that matters.
Re:Apple Is Sending URLs to Tencent? by gowld on Monday October 14, 2019 @03:02AM (#21245826)
No, it's the latter.

In NSLocale, "region" is a subtype of language, as in a regional dialect, not an independent dimension.

https://developer.apple.com/documentation/foundation/nslocal...

https://developer.apple.com/library/archive/documentation/Ma...

Re:Apple Is Sending URLs to Tencent? by dchest on Tuesday October 15, 2019 @02:37AM (#21256064)
Nope, [[NSLocale currentLocale] countryCode] returns Region country code from settings. The same code is also used for language region, so you can end up with something like zh_US.