Hello,
Doing some testing with gettext patch I see that grub-mkconfig is
(usually) overriding LANG variable to LANG=c
Actually there is some relevant parts:
----------
# XXX: should this be deprecated at some point?
if [ "x${GRUB_TERMINAL}" != "x" ] ; then
GRUB_TERMINAL_INPUT="${GRUB_TERMINAL}"
GRUB_TERMINAL_OUTPUT="${GRUB_TERMINAL}"
fi
echo "x${grub_prefix}/gfxterm.mod"
case x${GRUB_TERMINAL_OUTPUT} in
x)
# If this platform supports gfxterm, try to use it.
if test -e ${grub_prefix}/gfxterm.mod ; then
GRUB_TERMINAL_OUTPUT=gfxterm
fi
;;
xconsole | xserial | xofconsole | xgfxterm) ;;
*) echo "Invalid output terminal \"${GRUB_TERMINAL_OUTPUT}\"" >&2 ; exit 1 ;;
esac
...
# does our terminal support utf-8 ?
case ${GRUB_TERMINAL_OUTPUT} in
gfxterm) ;;
*)
# make sure all our children behave in conformance with ascii..
export LANG=C
;;
esac
----------
Since it starts saying that maybe it's deprecated, do you think that now it's
time to redo this part using another way? I think that, last months, has been
some changes or patches about terminal output and I don't know if there is
something pending in grub-mkconfig.
Thanks,
--
Carles Pina i Estany GPG id: 0x17756391
http://pinux.info
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel