set locale in ajax for getting domain information