# Function getAvailableLocales

- getAvailableLocales(
  programTheme: ProgramTheme,
  ): (
  | "es"
  | "id"
  | "is"
  | "no"
  | "ar"
  | "bg"
  | "bn-IN"
  | "cs"
  | "da"
  | "de"
  | "el"
  | "en-GB"
  | "en-US"
  | "es-ES"
  | "fi"
  | "fr-CA"
  | "fr"
  | "ga"
  | "hi-IN"
  | "hr"
  | "hu"
  | "it"
  | "iw"
  | "ja"
  | "ko"
  | "lo"
  | "lt"
  | "ms"
  | "nl"
  | "nl-BE"
  | "pl"
  | "pt-BR"
  | "pt"
  | "ro"
  | "ru"
  | "sk"
  | "sl"
  | "sr"
  | "sv"
  | "sw"
  | "uk"
  | "ur"
  | "vi"
  | "th"
  | "tr"
  | "zh-HK"
  | "zh"
  | "zu"
  )[]

  #### Parameters

  - programTheme: ProgramTheme

  #### Returns (
  | "es"
  | "id"
  | "is"
  | "no"
  | "ar"
  | "bg"
  | "bn-IN"
  | "cs"
  | "da"
  | "de"
  | "el"
  | "en-GB"
  | "en-US"
  | "es-ES"
  | "fi"
  | "fr-CA"
  | "fr"
  | "ga"
  | "hi-IN"
  | "hr"
  | "hu"
  | "it"
  | "iw"
  | "ja"
  | "ko"
  | "lo"
  | "lt"
  | "ms"
  | "nl"
  | "nl-BE"
  | "pl"
  | "pt-BR"
  | "pt"
  | "ro"
  | "ru"
  | "sk"
  | "sl"
  | "sr"
  | "sv"
  | "sw"
  | "uk"
  | "ur"
  | "vi"
  | "th"
  | "tr"
  | "zh-HK"
  | "zh"
  | "zu"
  )[]

  #### Description

  Return locales configured in MySheerID for this program, or specified in Javascript options.

  - Defined in jslib/src/lib/ProgramTheme/programThemeGetters.ts:137