add setting locale from arguments