1 2 3
#!/bin/bash LANG=`cat /etc/profile.d/i18n.sh|grep LANG|cut -d "=" -f 2` sed -i "s/Layout=fr/Layout=$LANG/" /usr/share/ede/.ede/ede.conf