Skip to content
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

New normative document proposal: Supporting Multiple Languages in JSON #3

Open
BigBlueHat opened this issue May 7, 2024 · 2 comments

Comments

@BigBlueHat
Copy link
Member

I've begun work on extracting the Value Object shape used in the JSON-LD Syntax v1.1 specification. It provides a foundation for consistent handling of multiple languages, but because it only exists in the JSON-LD Syntax specification many people overlook it or believe more is required for parsing it.

This new standalone specification would extract details on the Value Object syntax to be used for the primary purpose of encoding multi language strings in a fashion that has previously been approved during I18N reviews of the v1.1 specifications.

The specification would specifically describe this style of object construction following the limitations defined in Value Object:

{
  "occupation": {
    "@value": "Scientist",
    "@language": "en",
    "@direction": "ltr"
  }
}

This specification would not specify Language Maps nor the setting of any language defaults for an entire JSON document.

This specific specification would be targeted at only the Value Object syntax, parsing, and processing.

@gkellogg
Copy link
Member

Discussed on the 2024-05-29 CG meeting. Feeling was that this should be a WG Note.

@pchampin
Copy link
Collaborator

Propose to close after the merge of #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants