Giter VIP home page Giter VIP logo

Comments (5)

aphillips avatar aphillips commented on August 15, 2024

https://www.w3.org/2024/02/08-i18n-minutes.html#t08

from vc-bitstring-status-list.

msporny avatar msporny commented on August 15, 2024

@aphillips would I18N be okay w/ using the guidance here: https://www.rfc-editor.org/rfc/rfc9457#section-1

Specifically,

When they are conveyed in an HTTP response, the contents of problem details can be negotiated using proactive negotiation; see Section 12.1 of [HTTP]. In particular, the language used for human-readable strings (such as those in title and description) can be negotiated using the Accept-Language request header field (Section 12.5.4 of [HTTP]), although that negotiation may still result in a non-preferred, default representation being returned.

The processing errors are meant to be conveyed via HTTP or via a software library to a developer. They are not meant to be exposed to non-developers.

from vc-bitstring-status-list.

aphillips avatar aphillips commented on August 15, 2024

Yes, when returning values in a header like that, you absolutely can reference language negotiation, including RFC9547. There is no requirement that a given request be localized into all languages everywhere--or localized at all, for that matter. Indicating that language negotiation based on Accept-Language is what should happen might take the form of a note in your spec.

The processing errors are meant to be conveyed via HTTP or via a software library to a developer. They are not meant to be exposed to non-developers.

Understood. I18N notes that developers are people too. Also, such error messages sometimes do get shown to non-developer users, in spite of specifications saying that they shouldn't be 😉

FWIW, our guidance lives here and is consistent with your proposal.

Thanks!

from vc-bitstring-status-list.

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.