Next: , Previous: , Up: Command-line and menu entry commands   [Contents][Index]


14.3.16 gettext

Command: gettext string

Translate string into the current language.

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