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
Such a function does not exist. You will have to create a constant holding these values.
Is any Functionality is available now for this in latest version or are we still following the list in constant method ?
No
Thanks For that ,
In Appian, I want users to select a locale from a dropdown that simulates Admin Console → Enabled / Primary Locales, using a constant.
However, admins may later disable locales in the Admin Console that are still present in my constant. This creates a mismatch where users can select a locale that is no longer enabled in Appian.
Question: How can I keep my UI locale dropdown in sync with the real-time enabled/primary locales in the Appian Admin Console? Is there any function, system value, or workaround to dynamically fetch or validate enabled/primary locales instead of hardcoding them in a constant?