Detecting default currency symbol

A customer recently asked me if he could change the currency symbol in Check Writer, which up until now was simply dollar.

I could make it possible through preferences, but it would be nice if I could simply conform to the user settings.

Any way to detect the currency settings ?

Right now it would be for a Mac app, but I may want to do the same in the Windows one as well.

TIA

On Windows, there is a declare that you can use to retrieve most locale settings. That includes currency symbol and formatting. Microsoft docs are here among other places.

Did you look in LocaleMBS or NSLocaleMBS classes in our plugins?

Great. Thank you both :slight_smile:

https://documentation.xojo.com/api/os/locale.html

https://documentation.xojo.com/api/os/locale.html#locale-currencysymbol

2019r3.1

System.DebugLog(Locale.Current.CurrencySymbol)

Thanks Derk and Markus. I should read the release notes :stuck_out_tongue: