Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/mozilla/add-ons/webextensions/manifest.json/dictionaries/index.md
6583 views
---
title: dictionaries slug: Mozilla/Add-ons/WebExtensions/manifest.json/dictionaries page-type: webextension-manifest-key tags: - Add-ons - Extensions - WebExtensions - manifest.json browser-compat: webextensions.manifest.dictionaries
---

{{AddonSidebar}}

Type Object
Mandatory No
Manifest version 2 or higher
Example

"dictionaries": {
  "en-US": "dictionaries/en-US.dic"
}

The dictionaries key specifies the locale_code for which your extension supplies a dictionary. Although the dictionary consists of two files, one with a .dic and one with an .aff file extension, only the one with the .dic extension is referenced in the manifest.json.

If you use the dictionaries key, you must also set an ID for your extension using the browser_specific_settings manifest.json key.

Example

"dictionaries": { "en-US": "dictionaries/en-US.dic" }

Browser compatibility

{{Compat}}