Skip to main content
zorans0426
February 14, 2024
Solved

How to get a list of enabled locales in SAIL

  • February 14, 2024
  • 5 replies
  • 0 views

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!

    Best answer by stefanhelzle0001

    Such a function does not exist. You will have to create a constant holding these values.

    5 replies

    stefanhelzle0001
    February 14, 2024

    Such a function does not exist. You will have to create a constant holding these values.

    zorans0426
    February 14, 2024

    Thanks Stefan!