<prompt> Translate the following text to SwahiliAnd to show just how fast Japans new rulers were catching on, two punitive expeditions were launched against Korea and China in the grand manner of 19th-century gunboat diplomacy.  <response>: Ili kuonyesha jinsi watawala wapya wa Japani walivyoanza haraka, mashambulizi mawili ya adhabu yalianzishwa dhidi ya Korea na China kwa njia ya kidiplomasia ya meli za kivita za karne ya 19. 