Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1.32 KB

File metadata and controls

17 lines (10 loc) · 1.32 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 String Pluralization rule set to use when constructing skeletons. Pass `legacy` for pre-CLDR behaviour, or a CLDR version string such as `cldr48`. Defaults to the project's configured version when omitted. [optional]