How to work with "iso currency codes"?

I need to display a real-money price, that I fetch from the AppStore, in the game.

I have the price as decimal and an iso currency code as string. For the Euro currency the iso currency code is EUR for example.

How can I use the Localization system to format the currency with the provided iso currency code? For example, if I fetched an EUR currency code on an en-US system, I want to display 1.99€ rather than $ what would normally be used on the en-US system.

There’s a few options here but one way would be to override the locale formatter so it uses a different currency symbol.

Get the locale and assign a formatter to the Formatter property that can handle the correct currency. Then use the currency format symbol like normal {0:C}
E.g

locale.Formatter = CultureInfo.GetCultureInfo(“fr-FR”);

Thank you for the reply.

Hmm… but then I need to map the iso currency code to a locale iso-code “by hand”. Is there functionality in the Localization system to map an iso currency code to a locale already?

The locale inspector lets you change the default formatter to a different culture code.