Add arch support to 'set.locale'.