Re: [community-group] Should token descriptions support multiple languages? (#84)

Just want to add that, for teams that need multiple languages (such as [the Canadian government example](https://github.com/design-tokens/community-group/issues/62#issuecomment-956479996) that @delisma mentioned), the [draft spec's `extensions` property](https://design-tokens.github.io/community-group/format/#extensions) could be a viable alternative for now.

For example, you might create your own extension along these lines to house a 2nd description in another language:

```json
{
  "Button background": {
    "value": "#777777",
    "description": "The background colour for buttons in their normal state.",
    "extensions": {
      "ca.canada.design-system": {
        "description-fr": "La couleur de fond des boutons dans leur état normal."
      }
    }
  }
}
```

Of course, you'd need custom tools / plug-ins to do anything useful with your extension though.

-- 
GitHub Notification of comment by c1rrus
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/84#issuecomment-970627699 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 16 November 2021 19:54:18 UTC