swiftlang/swift-foundation
Consider exposing common `Locale.NumberingSystem` as static variables
Aperta
#1052 aperta il 19 nov 2024
API Changeenhancementgood first issue
Metriche repository
- Star
- (2673 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Locale.LanguageCode and Locale.ScriptCode defines common language and script codes as static vars for easy access, such as
@_alwaysEmitIntoClient
public static var danish: Locale.LanguageCode { Locale.LanguageCode("da") }
We can consider exposing common Locale.NumberingSystem as well.
Discussion: https://forums.swift.org/t/fou-locale-components-language-and-language-components/54084/17