use shell_code to setup locale