localizedString(forVariantCode:)

Returns a localized string for a specified variant code.

iOS
8.0+
macOS
10.10+
tvOS
9.0+
watchOS
2.0+
func localizedString(forVariantCode variantCode: String) -> String?

For example, in the “en” locale, the result for "POSIX" is "Computer".