Skip to content

Language support

The content and contentMap properties are defined in the ActivityStreams Vocabulary.

The support for natural language values is described in ActivityStreams.

Examples

Example 1

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/HkTeFTgOciA",
  "published": "2024-10-27T19:17:22Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/L0Q3xkFTb_Y",
    "published": "2024-10-27T19:17:22Z",
    "content": "text",
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-5dd0-76ae-b409-f0f8bbb8a419",
  "created_at": "2024-10-27T19:17:22.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/actor/L0Q3xkFTb_Y",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "text",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/IgiQzTl9jB4",
  "published": "2024-10-27T19:17:22Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/LRdnUh2Db0o",
    "published": "2024-10-27T19:17:22Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-5dd0-76ae-b409-f0f99345399f",
  "created_at": "2024-10-27T19:17:22.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/actor/LRdnUh2Db0o",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "text",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/Z3NUNkaz9xU",
  "published": "2024-10-27T19:17:23Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/P5MuW_qPDkg",
    "published": "2024-10-27T19:17:23Z",
    "content": "text",
    "contentMap": {
      "en": "English"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-61b8-71ff-874c-b88bbdac0235",
  "created_at": "2024-10-27T19:17:23.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/actor/P5MuW_qPDkg",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "text",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/0FxoOVZoDG8",
  "published": "2024-10-27T19:17:24Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/m7F66ArmQMQ",
    "published": "2024-10-27T19:17:24Z",
    "content": "text",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-65a0-7137-90ba-4e22dff9ded8",
  "created_at": "2024-10-27T19:17:24.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/actor/m7F66ArmQMQ",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "text",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/u3vcYkYd-jg",
  "published": "2024-10-27T19:17:25Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/XR2fN2ar8YI",
    "published": "2024-10-27T19:17:25Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-6988-74b7-a597-5bb3af8c374d",
  "created_at": "2024-10-27T19:17:25.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/actor/XR2fN2ar8YI",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "text",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/l4hEBmueR2E",
  "published": "2024-10-27T19:17:26Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/lnCepM98YX8",
    "published": "2024-10-27T19:17:26Z",
    "contentMap": {
      "de": "Deutsch"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-6d70-7844-ba7a-193f9110d660",
  "created_at": "2024-10-27T19:17:26.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "de",
  "uri": "http://pasture-one-actor/actor/lnCepM98YX8",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "Deutsch",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/nK59n25kjSk",
  "published": "2024-10-27T19:17:26Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/BwCXkGaICkE",
    "published": "2024-10-27T19:17:26Z",
    "contentMap": {
      "en": "English"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-6d70-7844-ba7a-193fb0bba64c",
  "created_at": "2024-10-27T19:17:26.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "en",
  "uri": "http://pasture-one-actor/actor/BwCXkGaICkE",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "English",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 8

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/m_dDlhiy7WE",
  "published": "2024-10-27T19:17:27Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/5QWsC67Mzkk",
    "published": "2024-10-27T19:17:27Z",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-7158-7ebe-a04e-9f92f5ddf8c6",
  "created_at": "2024-10-27T19:17:27.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "de",
  "uri": "http://pasture-one-actor/actor/5QWsC67Mzkk",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "Deutsch",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}

Example 9

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://hollo/@john"
  ],
  "id": "http://pasture-one-actor/actor/Xqw5CUQgreY",
  "published": "2024-10-27T19:17:28Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://hollo/@john"
    ],
    "id": "http://pasture-one-actor/actor/tL4BsCXIDtA",
    "published": "2024-10-27T19:17:28Z",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    },
    "tag": [
      {
        "type": "Mention",
        "href": "http://gotosocial/users/cookie"
      }
    ]
  }
}
hollo
{
  "id": "0192cf69-7540-7980-85df-68ceb5240413",
  "created_at": "2024-10-27T19:17:28.000Z",
  "in_reply_to_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "de",
  "uri": "http://pasture-one-actor/actor/tL4BsCXIDtA",
  "url": null,
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "pinned": false,
  "content": "Deutsch",
  "reblog": null,
  "quote_id": null,
  "quote": null,
  "application": null,
  "account": {
    "id": "0192cf64-a9bb-7a3a-8d01-6cdcc40de794",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "created_at": "2024-10-27T19:12:13.695Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://hollo/image/avatars/original/missing.png",
    "avatar_static": "http://hollo/image/avatars/original/missing.png",
    "header": "http://hollo/image/headers/original/missing.png",
    "header_static": "http://hollo/image/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "moved": null,
    "last_status_at": null,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "emojis": [],
  "emoji_reactions": [],
  "poll": null,
  "filtered": null
}