New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider explicitly allowing/recommending language maps for use in internationalisation. #1479
Comments
Language maps are supported. Any i18n mechanism supported by JSON-LD is supported by VCDM. That said, there were multiple organizations that objected to using advanced JSON-LD features. So, the best we could do in the specification is to try and find a middle ground. That resulted in this section: https://w3c.github.io/vc-data-model/#type-specific-credential-processing as well as the general section on JSON-LD usage: https://w3c.github.io/vc-data-model/#json-ld At present, I don't think we'll be able to get consensus to recommend language maps. They are already allowed per the specification, perhaps we can say more about them being allowed since you read the spec and it wasn't clear to you. Given the above, what sort of language would you like to see in the specification around this topic? |
I believe the right pointer is https://w3c.github.io/vc-data-model/#language-and-base-direction and not what @msporny put into his comments |
The issue was discussed in a meeting on 2024-05-01
View the transcript3.3. Consider explicitly allowing/recommending language maps for use in internationalisation. (issue vc-data-model#1479)See github issue vc-data-model#1479. Brent Zundel: This was raised a couple of weeks ago -- consider explicitly allowing / recommending language maps. Anil John: The ability to do language translations automatically for the credentials and attestations that we have would be good. I saw the feedback from Manu on the issue. Just a clarification question -- it sounds like basically having JSON-LD compact form, you have the ability to do that. Does anything in the current spec prevent the use of language maps in anyway shape or form? Ivan Herman: I think the problem is that there a section -- I don't know from the top of my head -- that shows how a pure JSON processor can handle JSON-LD credentials and that is not describing anything about language maps the way they are done in JSON-LD. Anil John: Understand Ivan's point -- I'm glad the flexibility exists that allows someone who wants to use a JSON-LD API to get functionality that is unique to JSON-LD and obviously in a context-specific processing love the flexibility to avoid doing that using static contexts and JSON schemas. Brent Zundel: Nothing in the spec prevents you from using JSON-LD to use its full capabilities to my knowledge.
Gabe Cohen: It seems there is a JSON-LD language map solution -- is there another one if they don't want to use it? Brent Zundel: Thanks Gabe. Dmitri Zagidulin: Reading this issue from Anthony, he does a lot of advising to the EU commission on the learning data model, etc. lots of skin in the game. The way he phrases the issue is that he would like it to clarify whether only the subset of i18n is supported or if multiple methods are supported. Brent Zundel: Perhaps this issue could be resolved with a sentence that says "Additional JSON-LD capabilities could be utilized -- but if the recipient doesn't do JSON-LD processing they may not be received". Dave Longley: It's not a JSON-LD processing issue but a type-specific VC one. Brent Zundel: We'll get back on timing issues for the controller docs, thanks all! |
In the European context, multilingual credentials are commonplace. The typical use case is to have approx. 30 languages which may be used for a credential-type, with any individual credential being typically expressed in 2-3 languages. For this kind of use case, it makes sense for us to use JSON-LD language indexing, as specified here https://www.w3.org/TR/json-ld11/#example-71-language-map-expressing-a-property-in-three-languages. This approach is the one currently adopted in the European Digital Credentials scheme.
By my reading of the section 10.1, this approach seems to be supported, but the current language makes it a bit unclear if only examples described in the VC standard are supported, or whether any internationalisation approach supported by the JSON-LD standard is supported.
The suggestion would be to explicitly mention language-maps as a supported approach, and possibly include a language map as an example.
The text was updated successfully, but these errors were encountered: