<prompt> Translate the following text to SwahiliModern and efficient, the capital of Karnataka is a convenient gateway to the western half of the peninsula.  <response>: Mji mkuu wa Karnataka, ulio wa kisasa na wenye ufanisi, ni lango linalofaa la kuingia katika nusu ya magharibi ya peninsula hiyo. 