feat(i18n): Add central kurdish locale(ckb) (#2332)
Co-authored-by: userquin <userquin@gmail.com>
This commit is contained in:
parent
c01a15c930
commit
1c908363cb
2 changed files with 707 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue