<prompt> Translate the following text to SwahiliIn just 40 years, Japan had established itself as a viable world power.  <response>: Katika miaka 40 tu, Japani ilikuwa imejitokeza kuwa nguvu kubwa ya ulimwengu. 