feat(i18n): add Polish language support (#14080)

It's my first time making a pull request to any repo. If there are any
issues, let me know.

## Summary
Adds Polish language support. Translation is 98% complete (10,447/10,646
words).

## Changes
- Added `pl` to Language type
- Added Polish to SUPPORTED_LANGUAGES with lazy loading

The `pl.json` file already exists in the repo with good translation
coverage. Some AI-related strings are not yet translated but will fall
back to English.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added Polish language support to the application, including localized
language name, native language name, and flag emoji.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Mord0reK
2025-12-10 13:12:47 +01:00
committed by GitHub
parent cb0ff04efa
commit 396cda2fff

View File

@@ -8,6 +8,7 @@ export type Language =
| 'es'
| 'es-AR'
| 'es-CL'
| 'pl'
| 'de'
| 'ru'
| 'ja'
@@ -89,6 +90,12 @@ export const SUPPORTED_LANGUAGES: Record<
flagEmoji: '🇨🇱',
resource: () => import('./es-CL.json'),
},
pl: {
name: 'Polish',
originalName: 'Polski',
flagEmoji: '🇵🇱',
resource: () => import('./pl.json'),
},
de: {
name: 'German',
originalName: 'Deutsch',