Denmark has pledged more than $13 million to cover losses and damage in West Africa and other fragile regions affected by global warming.