fixed locale when changing it on the translator itself

should fix #887 and #905