Run "grub-mkconfig -o /boot/grub/grub.cfg" when the environment variable LANG=zh_CN.UTF8 it produces the following error: /usr/share/grub/grub-mkconfig_lib: 第 237 行:printf: “$”:无效格式字符 Translated text: /usr/share/grub/grub-mkconfig_ Lib: Line 237: printf: "$": invalid format character When LANG=en_US.UTF8, it has no problem. I don't know if this problem is caused by grub or shell script.
Translate by machine.