Skip to content

feat(translations): add Slovak (sk) catalogues for messages, validators and security - #3786

Merged
bobvandevijver merged 5 commits into
bolt:6.1from
Vondry:feat/slovak-translations
Aug 13, 2026
Merged

feat(translations): add Slovak (sk) catalogues for messages, validators and security#3786
bobvandevijver merged 5 commits into
bolt:6.1from
Vondry:feat/slovak-translations

Conversation

@Vondry

@Vondry Vondry commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Follow up of #3753

Summary

Adds Slovak translations for the messages, validators, and security domains, and enables the sk locale in app_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

  • Added messages.sk.xlf (428 translations)
  • Added validators.sk.xlf (108 translations)
  • Added security.sk.xlf (17 translations)
  • Enabled the sk locale in app_locales

Notes

The catalogues were generated from the English (en) skeletons rather than Czech (cs). The English messages catalogue 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

Vondry added 3 commits August 4, 2026 17:54
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.
@bobvandevijver bobvandevijver added this to the Bolt 6.1 milestone Aug 13, 2026
@bobvandevijver bobvandevijver added the topic: Multilingual 馃寪 Language, i10n, i18n, translations label Aug 13, 2026
@bobvandevijver
bobvandevijver requested a lite review from Copilot August 13, 2026 17:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.xlf Slovak catalogue for the main UI/message domain.
  • Added translations/validators.sk.xlf and translations/security.sk.xlf Slovak catalogues for Symfony validator and security messages.
  • Enabled sk in config/services.yaml via the app_locales parameter.

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
bobvandevijver enabled auto-merge (rebase) August 13, 2026 17:58
@bobvandevijver

Copy link
Copy Markdown
Member

Thank you @Vondry!

@bobvandevijver
bobvandevijver merged commit 0924f49 into bolt:6.1 Aug 13, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: Multilingual 馃寪 Language, i10n, i18n, translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants