Skip to content

pantoken-root / renderers/web-components/src / LocaleBundle

介面: LocaleBundle ​

Alpha(內測)

已完全解析的語系套件:BCP47 標籤、文字方向、顯示標籤,以及已翻譯的字串。

屬性 ​

locale ​

locale: string

Alpha(內測)

BCP47 語系標籤(例如 "hu"、"ar"、"zh-Hans")。


dir ​

dir: "ltr" | "rtl"

Alpha(內測)

文字方向。


label ​

label: string

Alpha(內測)

可供人閱讀的顯示標籤。


strings ​

strings: WebComponentStrings

Alpha(內測)

針對 web-component 元素集合的已翻譯 UI 字串。