<prompt> unaweza kugeuza matini haya ya swahilikwa kiingereza?morocco ilikuwa nchi lindwa ya ufaransa kuanzia 1912 hadi 1956 wakati sultan mohammed alipokalia kiti cha ufalme.  <response>: reulertube morocco was a french protectorate from 1912 to 1956, when sultan mohammed became king. 