feat(i18n): Add central kurdish locale(ckb) (#2332)

Co-authored-by: userquin <userquin@gmail.com>
This commit is contained in:
qezwan 2024-03-04 23:58:57 +03:30 committed by GitHub
parent c01a15c930
commit 1c908363cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 707 additions and 0 deletions

View file

@ -88,6 +88,16 @@ const locales: LocaleObjectData[] = [
return { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 }[name]
},
} satisfies LocaleObjectData),
({
code: 'ckb',
file: 'ckb.json',
name: 'کوردیی ناوەندی',
dir: 'rtl',
pluralRule: (choice: number) => {
const name = new Intl.PluralRules('ckb').select(choice)
return { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 }[name]
},
} satisfies LocaleObjectData),
({
code: 'fa-IR',
file: 'fa-IR.json',