Skip to content

Add Czech (cs) translation#1267

Open
skvost wants to merge 1 commit into
HiEventsDev:developfrom
skvost:pr/czech-translation
Open

Add Czech (cs) translation#1267
skvost wants to merge 1 commit into
HiEventsDev:developfrom
skvost:pr/czech-translation

Conversation

@skvost

@skvost skvost commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

What's new

Czech language support

Adds complete Czech (čeština) translation across the platform, following the same approach as the Slovak PR (#1210):

  • Frontend: frontend/src/locales/cs.po — 2294 entries, 0 missing (+ compiled cs.js)
  • Backend: backend/lang/cs.json — 664 keys fully translated
  • Config: added cs to Locale.php, lingui.config.ts, locales.ts, dateLocales.ts (dayjs locale + Czech date formats), and LanguageSwitcher
  • README: added README.cs.md and linked it from the language selector in all other translated READMEs

Files changed

  • backend/app/Locale.php — added CS enum case
  • backend/lang/cs.json — new file (664 keys)
  • frontend/lingui.config.ts — enabled "cs" locale
  • frontend/src/locales.ts — added cs to the type, availableLocales, flag map (🇨🇿), and name map
  • frontend/src/locales/cs.po — new catalog (fully translated)
  • frontend/src/locales/cs.js — compiled catalog
  • frontend/src/utilites/dateLocales.ts — added cs dayjs import + date format block
  • frontend/src/components/common/LanguageSwitcher/index.tsx — added case "cs"
  • README.cs.md — new file
  • README.md + all other README.*.md — added Czech link to the language list

Testing

  • yarn messages:extract reports 0 missing for cs
  • yarn messages:compile completes successfully
  • Czech locale selectable in the language switcher with the 🇨🇿 flag
  • npx tsc --noEmit introduces no new type errors (the changed locale files are clean)

Scope is limited to adding Czech only; other locale catalogs are left untouched.

Add complete Czech (čeština) language support across the platform:

- Frontend: src/locales/cs.po (2294 entries, fully translated) + compiled cs.js
- Backend: lang/cs.json (664 keys)
- Config: add cs to Locale.php, lingui.config.ts, locales.ts,
  dateLocales.ts (dayjs locale + date formats), and LanguageSwitcher
- README: add README.cs.md and link it from the language selector
  in all other translated READMEs

Czech shows 0 missing after `yarn messages:extract`.
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