Context
Fink and paraglide started using functions like plural. The signature between both implementations needs to be identical.
Proposal
Introduce a function registry with v2 to avoid chaos.
private _getPluralCategories = (): string[] | undefined => {
return this.message?.locale
? [...new Intl.PluralRules(this.message.locale).resolvedOptions().pluralCategories, "*"]
: undefined
}
Context
Fink and paraglide started using functions like
plural. The signature between both implementations needs to be identical.Proposal
Introduce a function registry with v2 to avoid chaos.