User Tools

Site Tools


general:linux:grub_uses_local_language
no way to compare when less than two revisions

Differences

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


general:linux:grub_uses_local_language [2021/08/20 05:35] (current) – created sunkan
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 05:35 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki