Skip to content

Add Slovak (sk) translation + fix missing strings across all locales#1210

Open
pipozzz wants to merge 2 commits into
HiEventsDev:developfrom
pipozzz:pr/slovak-translation
Open

Add Slovak (sk) translation + fix missing strings across all locales#1210
pipozzz wants to merge 2 commits into
HiEventsDev:developfrom
pipozzz:pr/slovak-translation

Conversation

@pipozzz
Copy link
Copy Markdown

@pipozzz pipozzz commented May 30, 2026

What's new

Slovak language support

Added complete Slovak (slovenčina) translation across the entire platform:

  • Backend: backend/lang/sk.json — 664 keys fully translated
  • Frontend: frontend/src/locales/sk.po — 2330 entries, 0 missing
  • Config: Added sk to Locale.php enum, lingui.config.ts, locales.ts, dateLocales.ts, and LanguageSwitcher
  • README: Added README.sk.md and linked it from all other translated READMEs

Fixed missing translations in all other locales

Filled in all missing msgstr entries for: de, fr, nl, hu, pt, pt-br, vi, tr, se, zh-cn, zh-hk, es, it, pl

Before:

  • de/fr/nl/hu/pt/pt-br/vi/tr/se/zh-cn/zh-hk — 33 missing each
  • pl — 121 missing
  • es/it — 3 missing each

After:

  • All locales — 0 missing ✅ (except ru which was already untranslated)

Files changed

  • backend/app/Locale.php — added SK enum case
  • backend/lang/sk.json — new file (664 keys)
  • frontend/lingui.config.ts — added "sk" locale
  • frontend/src/locales.ts — added sk to type, array, flag map, name map
  • frontend/src/locales/sk.po — new file
  • frontend/src/locales/sk.js — compiled catalog
  • frontend/src/utilites/dateLocales.ts — added sk dayjs import + format
  • frontend/src/components/common/LanguageSwitcher/index.tsx — added case "sk"
  • frontend/src/locales/{de,fr,nl,hu,pt,pt-br,vi,tr,se,zh-cn,zh-hk,es,it,pl}.po — filled missing translations
  • frontend/src/locales/*.js — recompiled catalogs
  • README.sk.md — new file
  • README.md + all other README.*.md — added Slovak link to language list

Testing

  • yarn messages:extract shows 0 missing for all locales (except ru)
  • yarn messages:compile completes successfully
  • Slovak locale selectable in language switcher with 🇸🇰 flag

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 30, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@pipozzz
Copy link
Copy Markdown
Author

pipozzz commented May 30, 2026

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant