This service is particularly useful to dynamically populate UI dropdowns or filters with proper localized labels.
The language parameter is mandatory and must be provided in one of the following formats:
- Short format:
fr,en,es,de. - Full format: as returned by
applicationLanguageCodein userProfile, e.g.,fr-FR.
The list of available enumeration names can be retrieved by querying the GraphQL schema. If necessary, an additional page listing all enums and their values could be considered.
Internally, the enums are defined in the schema_enum.graphql file, which is automatically generated.