Merge pull request #340 from abnvle/feat/polish-translation

add polish (pl) translation
This commit is contained in:
Dionisio Pozo
2026-05-04 20:29:13 +02:00
committed by GitHub
3 changed files with 685 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ let currentLocale = navigator.language?.substring(0, 2) || navigator.userLanguag
// Supported locales (languages that have locale files on the server)
// When a locale file is not found, the system gracefully falls back to English
const supportedLocales = ['en', 'es', 'zh', 'fa', 'fr', 'de', 'pt', 'nl', 'it', 'hi', 'ar', 'ru', 'ja', 'ko'];
const supportedLocales = ['en', 'es', 'zh', 'fa', 'fr', 'de', 'pt', 'nl', 'it', 'hi', 'ar', 'ru', 'ja', 'ko', 'pl'];
// Fallback to English if locale is not supported
if (!supportedLocales.includes(currentLocale)) {