bash-init: more i18n fixes

- be atomic in setlang()
- really catch errors (attempt in previous commit was borked)
- reformat existing code to use 2-spaces indentation

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>