swiftlang/swift-foundation

Consider exposing common `Locale.NumberingSystem` as static variables

开放

#1,052 创建于 2024年11月19日

 (0 条评论) (0 个反应) (0 位负责人)Swift (253 个派生)auto 404
API Changeenhancementgood first issue

仓库指标

星标
 (2,673 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南