Skip to content

Update Swedish translation#1825

Merged
idrassi merged 6 commits into
veracrypt:masterfrom
NickWick13:patch-10
Jul 15, 2026
Merged

Update Swedish translation#1825
idrassi merged 6 commits into
veracrypt:masterfrom
NickWick13:patch-10

Conversation

@NickWick13

@NickWick13 NickWick13 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

This pull request improves and verifies the Swedish localization for VeraCrypt 1.26.29.

I am a native Swedish speaker, and I reviewed the localization manually, string by string, against the corresponding English source strings using their localization keys. The review focused on preserving the exact source meaning while improving Swedish terminology, grammar, clarity, and consistency.

Changes

  • Corrected approximately 100 mistranslated, incomplete, or unclear entries.
  • Corrected meaning-changing translations involving:
    • registration and unregistration
    • mounting and unmounting
    • installation rollback
    • bootability
    • slack space
    • EFI and Secure Boot
    • Linux system integration
  • Improved and standardized terminology related to:
    • volume headers
    • header keys and master keys
    • boot loaders and boot managers
    • pre-boot authentication
    • key derivation functions
    • mounted and unmounted volumes
  • Improved technical warnings, instructions, menu items, and dialog texts.
  • Corrected grammar, sentence structure, punctuation, and inconsistent terminology.
  • Translated or completed strings that were previously incomplete or left in English.

Validation

  • Compared against the English localization for VeraCrypt 1.26.29.
  • All 1,685 localization keys were retained and matched.
  • No empty localization entries were introduced.
  • Format placeholders such as %s, %d, %I64u, %hs, and {0} were preserved.
  • Accelerator characters, escape sequences, and line breaks were preserved.
  • The XML structure was validated.

This pull request only changes the Swedish localization and does not change program functionality.

@idrassi

idrassi commented Jul 15, 2026

Copy link
Copy Markdown
Member

Thank you for this substantial update.

Before merging, please address a few technical issues reported by an AI review:

  1. Replace " with literal double quotes in IDC_FAVORITE_DISABLE_HOTKEY, CONFIRM_BACKGROUND_TASK_DISABLED, and SYS_FAVORITES_ADMIN_ONLY_WARNING. VeraCrypt’s Windows XML parser does not decode ", so it would be displayed literally.

  2. Restore textual \n escapes in the seven entries where they were replaced by physical line feeds.

  3. Please check the fixed-width Windows controls for IDC_PREF_UNMOUNT_INACTIVE, IDT_HEADER_KEY, and IDC_OPEN_OUTER_VOLUME; the new text appears likely to be clipped.

  4. Please use “PIM-värdet” rather than “PIM-koden” and preserve “användningen av kärnans kryptografiska tjänster” in the Linux messages.

  5. Revert the unrelated XML changes outside of localization to keep the patch focused.

Once these points are corrected, I would be comfortable merging the translation.

@NickWick13

Copy link
Copy Markdown
Contributor Author

Thank you for the detailed review. I have addressed the reported issues:

  • Replaced " with literal double quotes in
    IDC_FAVORITE_DISABLE_HOTKEY,
    CONFIRM_BACKGROUND_TASK_DISABLED, and
    SYS_FAVORITES_ADMIN_ONLY_WARNING.
  • Restored textual \n escape sequences in the seven affected entries.
  • Shortened the fixed-width Windows strings:
    • IDC_PREF_UNMOUNT_INACTIVE: Demontera volym automatiskt efter inaktivitet i
    • IDT_HEADER_KEY: Volymhuvudnyckel:
    • IDC_OPEN_OUTER_VOLUME: Öppna yttre volym
  • Replaced PIM-koden with PIM-värdet.
  • Restored the terminology användningen av kärnans kryptografiska tjänster
    in the Linux messages.
  • Reverted the unrelated XML serialization changes so that the patch remains
    limited to localization entry text.

I also revalidated the XML structure, all 1,685 localization keys, and the
format placeholders.

@idrassi

idrassi commented Jul 15, 2026

Copy link
Copy Markdown
Member

Thank you. One small regression remains: the following three translated entries were changed back to lang="en":

  • SYSENC_EFI_LOADER_NOT_TRUSTED_BY_SECUREBOOT
  • SYSENC_EFI_WINDOWS_LOADER_NOT_TRUSTED_BY_SECUREBOOT
  • SYSENC_EFI_WINDOWS_LOADER_PCA2011_MIGRATION_NEEDED

Since the Windows language loader only imports entries whose lang matches sv, these translations will currently be skipped and the English fallback will be displayed. Please change their attributes from lang="en" to lang="sv".

@NickWick13

Copy link
Copy Markdown
Contributor Author

Thank you for catching this regression.

I have changed the lang attribute from en to sv for the following three entries:

  • SYSENC_EFI_LOADER_NOT_TRUSTED_BY_SECUREBOOT
  • SYSENC_EFI_WINDOWS_LOADER_NOT_TRUSTED_BY_SECUREBOOT
  • SYSENC_EFI_WINDOWS_LOADER_PCA2011_MIGRATION_NEEDED

I also verified that all 1,685 translated entries now use lang="sv".

@idrassi

idrassi commented Jul 15, 2026

Copy link
Copy Markdown
Member

Thanks

@idrassi
idrassi merged commit b48e31f into veracrypt:master Jul 15, 2026
1 check passed
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.

2 participants