<prompt> Translate the following text to SwahiliDependent on a steady stream of foreign investment to finance their large trade deficits, the Thai and Malaysian governments were forced to devalue their currencies, making their exports cheaper in foreign markets.  <response>: Kwa kutegemea mtiririko wa kudumu wa uwekezaji wa kigeni ili kufadhili mapungufu yao makubwa ya biashara, serikali za Thailand na Malaysia zililazimika kupunguza thamani ya sarafu zao, na kufanya mauzo yao ya nje ya bei nafuu katika masoko ya kigeni. 