the bank will borrow money from the world bank to repay the country's debt, and then there will be a exchange to the local currency for circulation to the public by printing.
That process of making money by the bank is called the credit creation and this is done by the process of advancing the money as loans that have been deposited with them by the costumers using banking services.