December 1914: An Austrian lieutenant bombards a South African military camp at the railway station of Tschaukaib, German South West Africa
Once war was declared in late July 1914 Britain and its allies promptly moved against the colonies. The public was informed that German colonies were a threat because "Every German colony has a powerful wireless station — they will talk to one another across the seas, and at every opportunity they [German ships] will dash from cover to harry and destroy our commerce, and maybe, to raid our coasts." The British position that Germany was a uniquely brutal and cruel colonial power originated during the war; it had not been said during peacetime.
In the Pacific, Britain's ally Japan declared war on Germany in 1914 and quickly seized several of Germany's island colonies, the Mariana, Caroline and Marshall Islands, with virtually no resistance.
By 1916 only in remote jungle regions in East Africa did the German forces hold out. South Africa’s J.C. Smuts, now in Britain's small War Cabinet spoke of German schemes for world power, militarization and exploitation of resources, indicating Germany threatened western civilization itself. Smuts' warnings and were repeated in the press. The idea took hold that they should not be returned to Germany after the war.
(source)