gettext

Command

gettext string

Translate string into the current language.

The current language code is stored in the ‘lang’ variable in GRUB’s environment. Translation files in MO format are read from locale_dir, usually /boot/grub/locale.