Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.41 KB

File metadata and controls

26 lines (15 loc) · 1.41 KB

IcuSkeletonParameters

Properties

Name Type Description Notes
content String Source ICU message string to derive skeletons from. Mutually exclusive with `id`; exactly one of the two must be provided. [optional]
id String Code of an existing translation to source content from. Mutually exclusive with `content`; exactly one of the two must be provided. Returns 404 when the translation does not exist. [optional]
localeCodes List<String> Locale codes for which to generate skeletons. The pluralization rules of each locale determine which plural forms appear in the output. [optional]
keepContent Boolean When true, preserves the existing translation text in each plural form and adds any missing forms for the locale rather than stripping all literal content. [optional]
zeroFormEnabled Boolean When true, includes the zero plural form in the generated skeleton for locales that support it. [optional]
cldrVersion CldrVersionEnum Pluralization rule set to apply when constructing skeletons. Accepted values are `legacy` and `cldr_41`. Defaults to `legacy` when omitted. [optional]

Enum: CldrVersionEnum

Name Value
LEGACY "legacy"
CLDR_41 "cldr_41"