Hans van Kranenburg writes ("[Pkg-xen-devel] Bug#865086:
xen-hypervisor-4.8-amd64: Default grub entry broken with locales (how to
reproduce)"):
> What am I doing wrong, so that the first test already doesn't give me:
> "Debian GNU/Linux, met Xen-hypervisor"
You are missing the -d option to gettext.
root@thule:~# LANGUAGE=nl_NL.UTF-8 LANG=nl_NL.UTF-8 gettext -d grub '%s, with
Xen hypervisor'; echo
%s, met Xen-hypervisor
root@thule:~# LANGUAGE=nl_NL.UTF-8 LANG=nl_NL.UTF-8 TEXTDOMAIN=grub gettext
'%s, with Xen hypervisor'; echo
%s, met Xen-hypervisor
To reproduce the bug you have to not have GRUB_TERMINAL set (or set to
`gfxterm'), because grub-mkconfig thinks that other GRUB_TERMINAL
values including `serial' preclude non-ASCII characters, and that
causes it to set LANG=C. (Look in /etc/default/grub.)
Ian.