Skip to content

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

Open
Vondry wants to merge 3 commits into
bolt:6.1from
Vondry:feat/slovak-translations
Open

feat(translations): add Slovak (sk) catalogues for messages, validators and security#3786
Vondry wants to merge 3 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.
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.

1 participant