sudo locale-gen zh.CN
sudo locale-gen zh.CN.GBK
sudo gedit /usr/bin/gftp
在第二行加上
export LANG=zh_CN.GBK
全文如下
#!/bin/sh
export LANG=zh_CN.GBK
prefix=/usr
exec_prefix=${prefix}
if [ "$DISPLAY " != " " ] && [ -f ${exec_prefix}/bin/gftp-gtk ]; then
exec ${exec_prefix}/bin/gftp-gtk ${1+"$@"}
elif [ -f ${exec_prefix}/bin/gftp-text ]; then
exec ${exec_prefix}/bin/gftp-text ${1+"$@"}
else
echo "Error: Can't find gFTP binaries installed in ${exec_prefix}/bin"
fi
sudo locale-gen zh.CN.GBK
sudo gedit /usr/bin/gftp
在第二行加上
export LANG=zh_CN.GBK
全文如下
#!/bin/sh
export LANG=zh_CN.GBK
prefix=/usr
exec_prefix=${prefix}
if [ "$DISPLAY " != " " ] && [ -f ${exec_prefix}/bin/gftp-gtk ]; then
exec ${exec_prefix}/bin/gftp-gtk ${1+"$@"}
elif [ -f ${exec_prefix}/bin/gftp-text ]; then
exec ${exec_prefix}/bin/gftp-text ${1+"$@"}
else
echo "Error: Can't find gFTP binaries installed in ${exec_prefix}/bin"
fi