feat(translations): add Slovak (sk) catalogues for messages, validators and security - #3786
Merged
Merged
Conversation
Add sk translations for the messages, validators and security domains, generated from the en catalogues so unit ids, names, sources and notes stay in sync with the source files. - Validator and security strings reuse the official Symfony sk catalogues where an equivalent string exists. - Plural units use three forms (1 / 2-4 / 5+) as required by the Slovak plural rule, instead of the two forms carried by the en sources. - Language names in the locale picker keep their native spelling, as in the nl and el catalogues.
Add sk to app_locales so the Slovak catalogues are actually reachable.
Drop `state="translated"` so the sk files are byte-identical to the en skeletons apart from the header and the targets. Symfony's XLIFF 2.0 loader ignores segment attributes entirely, and 13 of the 15 other locale files carry no state attribute. Translation fixes: - listing.title_overview renders standalone in the `shoulder` block, so "Preh木ad pre" left a dangling preposition; use "Preh木ad". - general.latest_bolt_news: "Novinky Bolt" -> "Novinky Boltu". - view_locales.badge_missing: "Ch媒ba" -> "Ch媒baj煤ce", matching the adjectival badge set (Predvolen茅 / Pr谩zdne / OK). - caption.uploaded_files: "Nahrat茅" -> "Nahran茅", matching the participle used in the validators catalogue. - filemanager.delete_folder_successful: "odstr谩nen媒" -> "zmazan媒", to keep delete/remove rendered consistently as zmaza钮/odstr谩ni钮. - label.repeat_password: use the infinitive, like the sibling password labels. - general.phrase.no-search-term-provided: simplify the purpose clause.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Slovak (sk) localization support by introducing Slovak XLIFF catalogues for the existing messages, validators, and security translation domains, and enabling the sk locale in the application鈥檚 configured locale list.
Changes:
- Added
translations/messages.sk.xlfSlovak catalogue for the main UI/message domain. - Added
translations/validators.sk.xlfandtranslations/security.sk.xlfSlovak catalogues for Symfony validator and security messages. - Enabled
skinconfig/services.yamlvia theapp_localesparameter.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| translations/messages.sk.xlf | Adds Slovak translations for the core messages domain (UI strings / app messages). |
| translations/validators.sk.xlf | Adds Slovak translations for the validators domain (Symfony validation messages + Bolt-specific keys). |
| translations/security.sk.xlf | Adds Slovak translations for the security domain (Symfony security/auth messages). |
| config/services.yaml | Enables the sk locale in app_locales so it can be selected/used by the application. |
馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
bobvandevijver
approved these changes
Aug 13, 2026
bobvandevijver
enabled auto-merge (rebase)
August 13, 2026 17:58
Member
|
Thank you @Vondry! |
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.
Follow up of #3753
Summary
Adds Slovak translations for the
messages,validators, andsecuritydomains, and enables thesklocale inapp_locales. Slovak is very similar to my native language, so I am able to make reasonable review as well.Note that Slovak localization is also present in these:
Changes
messages.sk.xlf(428 translations)validators.sk.xlf(108 translations)security.sk.xlf(17 translations)sklocale inapp_localesNotes
The catalogues were generated from the English (
en) skeletons rather than Czech (cs). The Englishmessagescatalogue contains 428 translation units versus 420 in Czech, ensuring all current keys are included. Czech translations were used as a cross-check for Bolt-specific terminology.Testing
Screen.Recording.2026-08-04.at.18.14.28.mov