/**
 * The list is based on Electron v17.0.1
 *
 * Call to session.availableSpellCheckerLanguages
 * https://www.electronjs.org/docs/latest/api/session#sesavailablespellcheckerlanguages-readonly
 */
export function getAvailableSpellcheckerLanguages(): string[] {
  return [
    'af',
    'bg',
    'ca',
    'cs',
    'cy',
    'da',
    'de',
    'de-DE',
    'el',
    'en-AU',
    'en-CA',
    'en-GB',
    'en-GB-oxendict',
    'en-US',
    'es',
    'es-419',
    'es-AR',
    'es-ES',
    'es-MX',
    'es-US',
    'et',
    'fa',
    'fo',
    'fr',
    'fr-FR',
    'he',
    'hi',
    'hr',
    'hu',
    'hy',
    'id',
    'it',
    'it-IT',
    'ko',
    'lt',
    'lv',
    'nb',
    'nl',
    'pl',
    'pt',
    'pt-BR',
    'pt-PT',
    'ro',
    'ru',
    'sh',
    'sk',
    'sl',
    'sq',
    'sr',
    'sv',
    'ta',
    'tg',
    'tr',
    'uk',
    'vi',
  ]
}

Add available spellchecker languages as test helper
Add available spellchecker languages as test helper
