remove resource locale