Add Czech (cs) translation#1267
Open
skvost wants to merge 1 commit into
Open
Conversation
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`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/src/locales/cs.po— 2294 entries, 0 missing (+ compiledcs.js)backend/lang/cs.json— 664 keys fully translatedcstoLocale.php,lingui.config.ts,locales.ts,dateLocales.ts(dayjs locale + Czech date formats), andLanguageSwitcherREADME.cs.mdand linked it from the language selector in all other translated READMEsFiles changed
backend/app/Locale.php— addedCSenum casebackend/lang/cs.json— new file (664 keys)frontend/lingui.config.ts— enabled"cs"localefrontend/src/locales.ts— addedcsto the type,availableLocales, flag map (🇨🇿), and name mapfrontend/src/locales/cs.po— new catalog (fully translated)frontend/src/locales/cs.js— compiled catalogfrontend/src/utilites/dateLocales.ts— addedcsdayjs import + date format blockfrontend/src/components/common/LanguageSwitcher/index.tsx— addedcase "cs"README.cs.md— new fileREADME.md+ all otherREADME.*.md— added Czech link to the language listTesting
yarn messages:extractreports 0 missing forcsyarn messages:compilecompletes successfullynpx tsc --noEmitintroduces no new type errors (the changed locale files are clean)