implement locale statement