Skip to main content
zorans0426
New Participant
Feb 14, 2024 9:56 AM UTC
Solved

How to get a list of enabled locales in SAIL

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!

    stefanhelzle0001
    Brainy
    Feb 14, 2024 10:09 AM UTC

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

    5 replies

    stefanhelzle0001
    Brainy
    Feb 14, 2024 10:09 AM UTC

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

    zorans0426
    New Participant
    Feb 14, 2024 10:15 AM UTC

    Thanks Stefan!