fixed error catch and added locale for gtk notify