mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-04 19:15:33 +08:00
feat(i18n): add Kazakh translation (#14981)
Closes #14975 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Kazakh (kk) language has been added — users can now choose Kazakh for the interface, with complete localization coverage and language metadata (name and flag) included. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/toeverything/AFFiNE/pull/14981?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"hi": 1,
|
||||
"it": 94,
|
||||
"ja": 93,
|
||||
"kk": 100,
|
||||
"ko": 93,
|
||||
"nb-NO": 46,
|
||||
"pl": 94,
|
||||
|
||||
@@ -23,7 +23,8 @@ export type Language =
|
||||
| 'ko'
|
||||
| 'pt-BR'
|
||||
| 'fa'
|
||||
| 'nb-NO';
|
||||
| 'nb-NO'
|
||||
| 'kk';
|
||||
|
||||
export type LanguageResource = typeof en;
|
||||
export const SUPPORTED_LANGUAGES: Record<
|
||||
@@ -179,4 +180,10 @@ export const SUPPORTED_LANGUAGES: Record<
|
||||
flagEmoji: '🇳🇴',
|
||||
resource: () => import('./nb-NO.json'),
|
||||
},
|
||||
kk: {
|
||||
name: 'Kazakh',
|
||||
originalName: 'Қазақша',
|
||||
flagEmoji: '🇰🇿',
|
||||
resource: () => import('./kk.json'),
|
||||
},
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user