Skip to content

Add Czech (cs) translation - #1267

Open
skvost wants to merge 5 commits into
HiEventsDev:developfrom
skvost:pr/czech-translation
Open

skvost wants to merge 5 commits 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 — 5190 entries, 0 missing (+ compiled cs.js)
  • Backend: backend/lang/cs.json — 1442 keys fully translated (same key set as the most complete locales)
  • Config: added cs to Locale.php, lingui.config.ts, locales.ts (type, flag, getLocaleName, dayjs loader), dateLocales.ts (Czech date formats), the API reference locale enum and the widget test page
  • 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 (1442 keys)
  • frontend/lingui.config.ts — enabled "cs" locale
  • frontend/src/locales.ts — added cs to the type, availableLocales, flag map (🇨🇿), getLocaleName and the dayjs locale loaders
  • frontend/src/locales/cs.po — new catalog (fully translated)
  • frontend/src/locales/cs.js — compiled catalog
  • frontend/src/utilites/dateLocales.ts — added the cs date format block
  • frontend/src/locales/*.po — added the "Czech" language name to every other locale
  • backend/resources/api-reference/openapi.json — added cs to the locale enums (matches Locale.php)
  • frontend/src/widget-test/index.html — added cs to the locale list
  • README.cs.md — new file
  • README.md + all other README.*.md — added Czech to the language links and the Languages list (21 languages)

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`.
@daveearley

Copy link
Copy Markdown
Contributor

Thank you very much for these changes!

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

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

…tion

# Conflicts:
#	README.de.md
#	README.el.md
#	README.es.md
#	README.fr.md
#	README.hu.md
#	README.it.md
#	README.ja.md
#	README.md
#	README.nl.md
#	README.pl.md
#	README.pt.md
#	README.sk.md
#	README.tr.md
#	README.vi.md
#	README.zh-cn.md
#	README.zh-hk.md
#	backend/app/Locale.php
#	frontend/src/components/common/LanguageSwitcher/index.tsx
#	frontend/src/locales.ts
#	frontend/src/utilites/dateLocales.ts
- Translate 3,287 new frontend strings (cs.po: 0 missing)
- Bring backend/lang/cs.json to parity with the other locales (1,442 keys)
- Wire cs into the refactored locale setup (getLocaleName, dayjs loader, date formats)
- Add cs to the Locale enum in the API reference and the widget test page
- Add the "Czech" language name to every other locale
- Rewrite README.cs.md to match the new README and list Czech in all READMEs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@skvost
skvost force-pushed the pr/czech-translation branch from 30a8285 to e73e5c7 Compare October 29, 2026 12:53
@skvost

skvost commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

@daveearley Updated, resolved issues and rebased

This branch has not been deployed

No deployments
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.

2 participants