This feature is a part of Currency Switcher. Click here to see all Currency Switcher features.
You can limit the selected currency only to a defined set of languages in Catalog Settings > Currency Switcher:
You can specify a comma-separated list of language codes for each currency.
This feature is based on the user browser language or country configuration.