Country X's national government purchases country Y's government-issued bonds. Would the bonds be issued in country Y's currency?

How does inflation (of either country's currency) factor into this, especially when the bonds mature, say, 10 years later?