<prompt> Translate the following text to SwahiliIn 1937 De Valeras republican constitution took Ireland out of the British Commonwealth, and the new republic elected its first president, Douglas Hyde, in 1938.  <response>: Mwaka 1937 De Valera alitoa katiba ya Jamhuri ya Ireland, na Jamhuri hiyo ilichagua Douglas Hyde kuwa rais wake wa kwanza. 