Add Slovak (sk) translation + fix missing strings across all locales#1210
Open
pipozzz wants to merge 2 commits into
Open
Add Slovak (sk) translation + fix missing strings across all locales#1210pipozzz wants to merge 2 commits into
pipozzz wants to merge 2 commits into
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
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
Slovak language support
Added complete Slovak (slovenčina) translation across the entire platform:
backend/lang/sk.json— 664 keys fully translatedfrontend/src/locales/sk.po— 2330 entries, 0 missingsktoLocale.phpenum,lingui.config.ts,locales.ts,dateLocales.ts, andLanguageSwitcherREADME.sk.mdand linked it from all other translated READMEsFixed missing translations in all other locales
Filled in all missing
msgstrentries for:de,fr,nl,hu,pt,pt-br,vi,tr,se,zh-cn,zh-hk,es,it,plBefore:
After:
ruwhich was already untranslated)Files changed
backend/app/Locale.php— addedSKenum casebackend/lang/sk.json— new file (664 keys)frontend/lingui.config.ts— added"sk"localefrontend/src/locales.ts— addedskto type, array, flag map, name mapfrontend/src/locales/sk.po— new filefrontend/src/locales/sk.js— compiled catalogfrontend/src/utilites/dateLocales.ts— addedskdayjs import + formatfrontend/src/components/common/LanguageSwitcher/index.tsx— addedcase "sk"frontend/src/locales/{de,fr,nl,hu,pt,pt-br,vi,tr,se,zh-cn,zh-hk,es,it,pl}.po— filled missing translationsfrontend/src/locales/*.js— recompiled catalogsREADME.sk.md— new fileREADME.md+ all otherREADME.*.md— added Slovak link to language listTesting
yarn messages:extractshows 0 missing for all locales (exceptru)yarn messages:compilecompletes successfully