feat(i18n): Add Turkish locale (#1099)

This commit is contained in:
Doğu Us 2023-01-14 12:56:46 +03:00 committed by GitHub
parent d2ef57bcfa
commit 55a58f5509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 491 additions and 0 deletions

View file

@ -82,6 +82,11 @@ const locales: LocaleObjectData[] = [
return { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 }[name]
},
} satisfies LocaleObjectData),
{
code: 'tr-TR',
file: 'tr-TR.json',
name: 'Türkçe',
},
].sort((a, b) => a.code.localeCompare(b.code))
const datetimeFormats = Object.values(locales).reduce((acc, data) => {