Move language validation checking down to update_attribute_in_metadata