static async getAvailableDictionaries () {
    if (isOsx) {
      // NB: On macOS the OS spell checker is used and will detect the language automatically.
      return []
    }
    return ipcRenderer.invoke('mt::spellchecker-get-available-dictionaries')
  }
Returns a list of available dictionaries.
@returns {Promise<string[]>} Available dictionary languages.