Chrome JSON Messages

Messages JSON format used to localize Chrome extensions.

File Extensions.json
API Extensionjson
Format OptionsNo
ImportYes
ExportYes
Pluralization supported?No
Descriptions supported?Yes

Example

{
  "boolean_key": {
    "message": "--- true\n"
  },
  "empty_string_translation": {
    "message": ""
  },
  "key_with_description": {
    "message": "Check it out! This key has a description! (At least in some formats)",
    "description": "This is the amazing description for this key!"
  },
  "key_with_line-break": {
    "message": "This translations contains\na line-break."
  },
  "nested.deeply.key": {
    "message": "Wow, this key is nested even deeper."
  },
  "nested.key": {
    "message": "This key is nested inside a namespace."
  },
  "null_translation": {
    "message": null
  },
  "pluralized_key.one": {
    "message": "Only one pluralization found."
  },
  "pluralized_key.other": {
    "message": "Wow, you have %s pluralizations!"
  },
  "pluralized_key.zero": {
    "message": "You have no pluralization."
  },
  "sample_collection": {
    "message": "---\n- first item\n- second item\n- third item\n"
  },
  "simple_key": {
    "message": "Just a simple key with a simple message."
  },
  "unverified_key": {
    "message": "This translation is not yet verified and waits for it. (In some formats we also export this status)"
  }
}

Further Reading