Giter Site home page Giter Site logo

Comments (3)

ChucKN0risK avatar ChucKN0risK commented on May 18, 2024 2

Reviewed by the spec editors on 2021-11-16.

Decision
Token descriptions do not support multiple languages.

Why?
This enables the spec:

  • be more easily implemented by design tool vendors
  • remain as simple as possible

Action to be taken
We will close this issue and might reopen it in the future.

from community-group.

c1rrus avatar c1rrus commented on May 18, 2024 1

Just want to add that, for teams that need multiple languages (such as the Canadian government example that @delisma mentioned), the draft spec's extensions property 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:

{
  "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.

from community-group.

delisma avatar delisma commented on May 18, 2024

Reviewed by the spec editors on 2021-11-16.

Decision Token descriptions do not support multiple languages.

Why? This enables the spec:

  • be more easily implemented by design tool vendors
  • remain as simple as possible

Action to be taken We will close this issue and might reopen it in the future.

I'm just concerned that asking tool vendors to add multiple languages support in the spec after it was implemented without it, could add undesired development issues for them on the long run. I feel it should be left to the tools vendors to decide if the implementation is simpler later than now.

@duboisp
@joshbeveridge

from community-group.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.