Countries voted overwhelmingly on Thursday to regulate international trade in giraffes, an endangered species, and in their skins and other parts, overcoming objections by southern African states and drawing praise from conservationists.