When a country's currency is devalued, it becomes cheaper relative to other currencies. This makes the country's goods and services more affordable for foreign buyers, increasing exports. Imports become more expensive for domestic consumers, which further encourages export-oriented production.