1 2 3 4 5 6 7 8 9
#!/usr/bin/bash lang=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1) if [ x$lang = "xfr" ]; then trayfreq-set-fr $@ else trayfreq-set-en $@ fi