How to get a list of enabled locales in SAIL

Certified Senior Developer

Hello!

I would like to display a list of locales enabled in Administration Console -> Internationalization to a user in a SAIL interface.

How can I retrieve the list of enabled locales and how to find out which one is the default locale?

Thanks in advance!

  Discussion posts and replies are publicly visible