dumb locale sniffing