User Tools

Site Tools


general:linux:grub_uses_local_language

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

general:linux:grub_uses_local_language [2021/08/20 07:35] (current)
created
Line 1: Line 1:
 +====== GRUB uses local language ======
 +update-grub only looks at $LANG, even though $LC_MESSAGES could be used to choose for example english messages.
  
 +/​etc/​grub.d/​00_header - add middle line
 +<​code>​
 +grub_lang=`echo $LANG | cut -d . -f 1`
 +if [ $LC_MESSAGES != ""​ ]; then grub_lang=`echo $LC_MESSAGES | cut -d . -f 1`; fi
 +grubdir="​`echo "/​boot/​grub"​ | sed '​s,//​*,/,​g'​`"​
 +</​code>​
general/linux/grub_uses_local_language.txt ยท Last modified: 2021/08/20 07:35 by