Linux: Translate Boot message of cryptsetup „Enter passphrase to unlock the disk“

Problem: If you setup a full encrypted Laptop with the Linux Installer the first Boot Message of cryptsetup is always in English Speech shown „Enter passphrase to unlock the disk“ /dev/sda

Solution:

  • edit the
    /usr/share/initramfs-tools/scripts/local-top/cryptroot
    ,with nano, find and change the text to your Language
  • edit the
    /lib/cryptsetup/cryptdisks.functions
    ,with nano ,find and change the text to your Language
  • update the initramfs of the current kernel with
    update-initramfs -u -k all
  • reboot and test the translated login